|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70842 - trunk/tools/build/v2/tools
From: blelbach_at_[hidden]
Date: 2011-04-01 19:47:01
Author: wash
Date: 2011-04-01 19:47:00 EDT (Fri, 01 Apr 2011)
New Revision: 70842
URL: http://svn.boost.org/trac/boost/changeset/70842
Log:
Fix address-model/fpic stuff for clang. PCH support is still broken on clang-linux
and intel-linux :(.
Text files modified:
trunk/tools/build/v2/tools/clang-linux.jam | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
Modified: trunk/tools/build/v2/tools/clang-linux.jam
==============================================================================
--- trunk/tools/build/v2/tools/clang-linux.jam (original)
+++ trunk/tools/build/v2/tools/clang-linux.jam 2011-04-01 19:47:00 EDT (Fri, 01 Apr 2011)
@@ -91,13 +91,13 @@
toolset.flags clang-linux.compile OPTIONS <profiling>on : ;
toolset.flags clang-linux.compile OPTIONS <rtti>off : -fno-rtti ;
-#rule compile.c++ ( targets * : sources * : properties * )
-#{
-# gcc.setup-threading $(targets) : $(sources) : $(properties) ;
-# gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
-# gcc.setup-address-model $(targets) : $(sources) : $(properties) ;
+rule compile.c++ ( targets * : sources * : properties * )
+{
+ gcc.setup-threading $(targets) : $(sources) : $(properties) ;
+ gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
+ gcc.setup-address-model $(targets) : $(sources) : $(properties) ;
# DEPENDS $(<) : [ on $(<) return $(PCH_FILE) ] ;
-#}
+}
#actions compile.c++ bind PCH_FILE
actions compile.c++
@@ -106,13 +106,13 @@
"$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
}
-#rule compile.c ( targets * : sources * : properties * )
-#{
-# gcc.setup-threading $(targets) : $(sources) : $(properties) ;
-# gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
-# gcc.setup-address-model $(targets) : $(sources) : $(properties) ;
+rule compile.c ( targets * : sources * : properties * )
+{
+ gcc.setup-threading $(targets) : $(sources) : $(properties) ;
+ gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
+ gcc.setup-address-model $(targets) : $(sources) : $(properties) ;
# DEPENDS $(<) : [ on $(<) return $(PCH_FILE) ] ;
-#}
+}
#actions compile.c bind PCH_FILE
actions compile.c
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk