- **labels**: --> Fixed_2_21_0
- **status**: Started --> Fixed
- **Patch**: push -->
- **Comment**:
~~~
commit 3fc41d7ac175fec152f577a1b324f7f0fdfd2a10
Author: Jonas Hahnfeld <[email protected]>
AuthorDate: Sun Feb 16 21:52:01 2020 +0100
Commit: Jonas Hahnfeld <[email protected]>
CommitDate: Thu Feb 20 08:47:59 2020 +0100
Issue 5770/2: Generate dependency files with Clang
Clang has no support for the DEPENDENCIES_OUTPUT variable. Instead
pass -MMD -MF -MT to achieve the same effect with both GCC and Clang.
This solution even comes with the advantage that passing -MP gives
"a phony target for each dependency" to "work around errors make
gives if you remove header files".
In the long term, we should definitely think about using something
like AutoMake for this purpose so that we don't have to maintain
these details of our build system...
commit 7139b7f2e7725fb7cd36d1be0e048b39f9558ff2
Author: Jonas Hahnfeld <[email protected]>
AuthorDate: Sun Feb 16 21:12:08 2020 +0100
Commit: Jonas Hahnfeld <[email protected]>
CommitDate: Thu Feb 20 08:47:47 2020 +0100
Issue 5770/1: Delete rules for .lo files
As far as I can tell, they are not used.
~~~
---
** [issues:#5770] Generate dependency files with Clang**
**Status:** Fixed
**Labels:** Fixed_2_21_0
**Created:** Sun Feb 16, 2020 08:59 PM UTC by Jonas Hahnfeld
**Last Updated:** Thu Feb 20, 2020 06:14 AM UTC
**Owner:** Jonas Hahnfeld
Generate dependency files with Clang
Clang has no support for the DEPENDENCIES_OUTPUT variable. Instead
pass -MMD -MF -MT to achieve the same effect with both GCC and Clang.
This solution even comes with the advantage that passing -MP gives
"a phony target for each dependency" to "work around errors make
gives if you remove header files".
In the long term, we should definitely think about using something
like AutoMake for this purpose so that we don't have to maintain
these details of our build system...
Additionally delete rules for .lo files. As far as I can tell, they
are not used.
http://codereview.appspot.com/555300044
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list._______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto