summaryrefslogtreecommitdiff
path: root/modules/thekla_unwrap
diff options
context:
space:
mode:
authorMatthias Hoelzl <tc@xantira.com>2017-12-12 11:16:23 +0100
committerMatthias Hoelzl <tc@xantira.com>2017-12-12 18:58:51 +0100
commit26a162167822cb6409414071f7857a49d2d64653 (patch)
treebd47a80402726739a13fd878c590c29ff2a7842f /modules/thekla_unwrap
parent56a44ca03e05a831e5c3c965a4675d53f82e7e6e (diff)
Change -std=gnu++11 to -stc=c++11 and don't pass flag to MSVC
Diffstat (limited to 'modules/thekla_unwrap')
-rw-r--r--modules/thekla_unwrap/SCsub3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/thekla_unwrap/SCsub b/modules/thekla_unwrap/SCsub
index 1d4b086848..0e1600df00 100644
--- a/modules/thekla_unwrap/SCsub
+++ b/modules/thekla_unwrap/SCsub
@@ -56,7 +56,8 @@ if env['builtin_thekla_atlas']:
env_thekla_unwrap.Append(CPPPATH=[thirdparty_dir, thirdparty_dir + "/poshlib", thirdparty_dir + "/nvcore", thirdparty_dir + "/nvmesh"])
# upstream uses c++11
- env_thekla_unwrap.Append(CXXFLAGS="-std=gnu++11")
+ if (not env_thekla_unwrap.msvc):
+ env_thekla_unwrap.Append(CXXFLAGS="-std=c++11")
if env["platform"] == 'x11':
env_thekla_unwrap.Append(CCFLAGS=["-DNV_OS_LINUX"])