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
commit2958617de3719d7fdff2c2dc3121d2492dc7107b (patch)
treedc16ebebd882372b91f785c63abe72af62c64ade /Jamroot.jam
parentBehave more like a normal compiler (write whole file, not append existing one) (diff)
downloadnetfs-2958617de3719d7fdff2c2dc3121d2492dc7107b.tar.bz2
netfs-2958617de3719d7fdff2c2dc3121d2492dc7107b.tar.xz
netfs-2958617de3719d7fdff2c2dc3121d2492dc7107b.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"
;