Opened 10 years ago
#7451 new Bugs
clang-linux.jam : cflags/cxxflags feature is added twice to compiler's command line (other features possibly as well)
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.50.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The crux of the issue appears to be here:
--- clang-linux.jam.orig 2012-10-01 20:31:55.253818173 +1000 +++ clang-linux.jam 2012-10-01 20:29:05.048627617 +1000 @@ -66,8 +66,8 @@
############################################################################### # Flags
-toolset.flags clang-linux.compile OPTIONS <cflags> ; -toolset.flags clang-linux.compile OPTIONS <cxxflags> ; +#toolset.flags clang-linux.compile OPTIONS <cflags> ; +#toolset.flags clang-linux.compile OPTIONS <cxxflags> ;
toolset.flags clang-linux.compile OPTIONS <optimization>off : ; toolset.flags clang-linux.compile OPTIONS <optimization>speed : -O3 ;
Flags are apparently already added by the "base" module and then again by the inherited one (does it make sense?).