projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d57ba16
)
scons: Do not use ld options start-group and end-group on Darwin.
author
Vinson Lee
<vlee@vmware.com>
Sun, 24 Jan 2010 05:43:26 +0000
(21:43 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 24 Jan 2010 05:43:26 +0000
(21:43 -0800)
Mac OS X ld does not support these options.
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index f4e82e8e0a58c046d3c36db99eb18426bc2372a6..2d963a5f9e8c6cec409253b345d32840edf208f8 100644
(file)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-476,7
+476,10
@@
def generate(env):
'-Wl,-Bsymbolic',
]
# Handle circular dependencies in the libraries
- env['_LIBFLAGS'] = '-Wl,--start-group ' + env['_LIBFLAGS'] + ' -Wl,--end-group'
+ if env['platform'] in ('darwin'):
+ pass
+ else:
+ env['_LIBFLAGS'] = '-Wl,--start-group ' + env['_LIBFLAGS'] + ' -Wl,--end-group'
if msvc:
if not env['debug']:
# enable Link-time Code Generation