[Boost-bugs] [Boost C++ Libraries] #7451: clang-linux.jam : cflags/cxxflags feature is added twice to compiler's command line (other features possibly as well)

Subject: [Boost-bugs] [Boost C++ Libraries] #7451: clang-linux.jam : cflags/cxxflags feature is added twice to compiler's command line (other features possibly as well)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-01 10:34:54


#7451: clang-linux.jam : cflags/cxxflags feature is added twice to compiler's
command line (other features possibly as well)
------------------------------+---------------------------------------------
 Reporter: oakad@… | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
  Version: Boost 1.50.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 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?).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7451>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC