projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a76798
)
gallium: Only use C++ compiler for linking when using LLVM.
author
Michel Dänzer
<michel@tungstengraphics.com>
Tue, 4 Mar 2008 17:28:23 +0000
(18:28 +0100)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Tue, 4 Mar 2008 17:28:23 +0000
(18:28 +0100)
Otherwise, the shared objects needlessly link against the C++ runtime
environment.
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index dd118dfbb870b6c1a74694a3fb79ef64557707a7..44ac0ad60d929c28d12a5ca43b011b0e7cfab276 100644
(file)
--- 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