Commit 72c9d4a6 authored by Michel Dänzer's avatar Michel Dänzer

gallium: Only use C++ compiler for linking when using LLVM.

Otherwise, the shared objects needlessly link against the C++ runtime
environment.
parent 9a767981
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment