Only set -std=c++11 on Apple/GCC if language has not been explicitly set.
This commit is contained in:
parent
65b4cd2cc3
commit
f1071b4f86
@ -297,7 +297,7 @@ namespace {
|
||||
|
||||
#if defined(__GLIBCXX__)
|
||||
// Avoid '__float128 is not supported on this target' errors
|
||||
if (!opts.StdVersion)
|
||||
if (!opts.Language && !opts.StdVersion)
|
||||
sArguments.addArgument("-std=c++11");
|
||||
#endif //__GLIBCXX__
|
||||
#endif // __APPLE__
|
||||
|
Loading…
x
Reference in New Issue
Block a user