summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 1 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index dd118dfbb8..44ac0ad60d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -206,9 +206,7 @@ if llvm:
env.ParseConfig('llvm-config --cflags --ldflags --libs')
env.Append(CPPDEFINES = ['MESA_LLVM'])
env.Append(CXXFLAGS = ['-Wno-long-long'])
-
-# Force C++ linkage
-if env['PLATFORM'] in ('posix',):
+ # Force C++ linkage
env['LINK'] = env['CXX']
# libGL