summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-10-07 15:41:43 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-10-07 15:41:43 +0100
commit7ebc589a27d088b6dfdff6a20effbf2317eda55b (patch)
tree35389e5a57b802f1cea8e525ee5c0db83fd87d05 /Jamroot.jam
parentBehave more like a normal compiler (write whole file, not append existing one) (diff)
downloadslicer-7ebc589a27d088b6dfdff6a20effbf2317eda55b.tar.bz2
slicer-7ebc589a27d088b6dfdff6a20effbf2317eda55b.tar.xz
slicer-7ebc589a27d088b6dfdff6a20effbf2317eda55b.zip
Set cxxflags specifically, not cflags
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam8
1 files changed, 4 insertions, 4 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index c66bf77..fc23554 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -8,13 +8,13 @@ variant coverage : debug ;
project
: requirements
- <variant>release:<cflags>"-std=c++1y -fvisibility=hidden"
+ <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden"
<variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden"
+ <variant>debug:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden"
<variant>debug:<linkflags>"-Wl,-z,defs,--warn-once"
- <variant>coverage:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden"
+ <variant>coverage:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden"
<variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage"
- <variant>component:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC -fvisibility=hidden"
+ <variant>component:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC -fvisibility=hidden"
<variant>component:<linkflags>"-Wl,-z,lazy,--warn-once,-fPIC"
;