summaryrefslogtreecommitdiff
path: root/Jamroot.jam
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
commite7b50c196e727892c312b290b586b06fb93eb20e (patch)
tree323d3ea242070ef34e8b8d0ab1d6a981f2c6c61e /Jamroot.jam
parentDon't convert variabletypes to char * for streaming when they're already stre... (diff)
downloadproject2-fceaf67cd497df16a323c13149a3416069afef95.tar.bz2
project2-fceaf67cd497df16a323c13149a3416069afef95.tar.xz
project2-fceaf67cd497df16a323c13149a3416069afef95.zip
Support complex types in rows and parametersproject2-1.0.1
Diffstat (limited to 'Jamroot.jam')
-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"
;