summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <randomdan@akira.random.lan>2014-12-09 15:13:50 +0000
committerDan Goodliffe <randomdan@akira.random.lan>2014-12-09 15:13:50 +0000
commit82d66acf64263827e45db087565e51327fbc6fdb (patch)
tree99147c5396e44eff5947f694c024fc5db44fd1fa
parentAdd mutex around Slice::Preprocessor calls as they seem to be demonstrably no... (diff)
downloadslicer-82d66acf64263827e45db087565e51327fbc6fdb.tar.bz2
slicer-82d66acf64263827e45db087565e51327fbc6fdb.tar.xz
slicer-82d66acf64263827e45db087565e51327fbc6fdb.zip
Support complex types in rows and parameters
-rw-r--r--Jamroot.jam7
1 files changed, 6 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 396dfd0..fe9fa3f 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -3,11 +3,16 @@ import slice ;
using gcc : : [ os.environ CXX ] ;
+variant component ;
+
project
: requirements
<variant>release:<cflags>"-std=c++0x"
+ <variant>release:<linkflags>"-Wl,-z,defs,--warn-once"
<variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++0x"
- <linkflags>"-Wl,-z,defs,--warn-once"
+ <variant>debug:<linkflags>"-Wl,-z,defs,--warn-once"
+ <variant>component:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++0x -fPIC"
+ <variant>component:<linkflags>"-Wl,-z,lazy,--warn-once,-fPIC"
;