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
commitd843acbc9bb22b87047cff591bc20f3c0043bee0 (patch)
treeb3b3f77661e637064070c25c4f56c8974ab15523 /Jamroot.jam
parentBehave more like a normal compiler (write whole file, not append existing one) (diff)
downloadgentoobrowse-api-d843acbc9bb22b87047cff591bc20f3c0043bee0.tar.bz2
gentoobrowse-api-d843acbc9bb22b87047cff591bc20f3c0043bee0.tar.xz
gentoobrowse-api-d843acbc9bb22b87047cff591bc20f3c0043bee0.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"
;