|
|
@@ -186,7 +186,6 @@ function toolchain(build_dir, lib_dir)
|
|
|
}
|
|
|
buildoptions {
|
|
|
"-fPIC",
|
|
|
- "-std=c++03",
|
|
|
"-no-canonical-prefixes",
|
|
|
"-Wa,--noexecstack",
|
|
|
"-fstack-protector",
|
|
|
@@ -195,6 +194,9 @@ function toolchain(build_dir, lib_dir)
|
|
|
"-Wunused-value",
|
|
|
-- "-Wundef", -- note: avoids PhysX warnings
|
|
|
}
|
|
|
+ buildoptions_cpp {
|
|
|
+ "-std=c++03",
|
|
|
+ }
|
|
|
linkoptions {
|
|
|
"-no-canonical-prefixes",
|
|
|
"-Wl,--no-undefined",
|