Only set -std=c++11 on Apple/GCC if language has not been explicitly set.

This commit is contained in:
Frederich Munch 2017-06-05 14:53:08 -04:00 committed by sftnight
parent 65b4cd2cc3
commit f1071b4f86

View File

@ -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__