summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2017-12-14 16:15:06 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2017-12-14 16:44:45 +0200
commitf8303ec6fb94ad15dcfdef59c315eef609768734 (patch)
treea3deef2435bdfdc47f68419d66bae00d7a1c2bf3 /SConstruct
parentf3ad14224e27f2a25196575e3c43ebc792c90894 (diff)
Adds `macports_clang` build flag to build using clang-5.0 form MacPorts (with OpenMP support).
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index cf18bfe18a..4f2df947c6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -169,6 +169,7 @@ opts.Add(EnumVariable('warnings', "Set the level of warnings emitted during comp
opts.Add(BoolVariable('progress', "Show a progress indicator during build", True))
opts.Add(BoolVariable('dev', "If yes, alias for verbose=yes warnings=all", False))
opts.Add(BoolVariable('openmp', "If yes, enable OpenMP", True))
+opts.Add(BoolVariable('macports_clang', "Build using clang-5.0 from MacPorts", False))
# Thirdparty libraries
opts.Add(BoolVariable('builtin_enet', "Use the builtin enet library", True))