-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate out CXXFLAGS from ECXXFLAGS in configure.
When the code in "configure" calls the add_cxxflags() function, the new flag is currently added the value to ECXXFLAGS variable and not the CXXFLAGS variable. That means that the compiler flag is never used again during configure and is only passed on to the actual compilations. This cause configure to fail when using "--profile=hardened" because test compiles fail due to missing arguments. Fix this function to add to the CXXFLAGS variable, and add another function for use by the "--extra-cxxflags" argument that adds to the ECXXFLAGS variable. Update the qmake.pro files so that both of these sets of flags are used in program compiles.
- Loading branch information
1 parent
849c2b3
commit c7196b3
Showing
4 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters