projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6043ee6
)
scons: Add -fno-common for 64-bit builds on Mac OS X.
author
Vinson Lee
<vlee@vmware.com>
Tue, 17 Aug 2010 07:20:58 +0000
(
00:20
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 17 Aug 2010 07:20:58 +0000
(
00:20
-0700)
This option is also needed for 64-bit builds if llvm is enabled.
Other the build fails during linking.
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index 03a4ef58815f1cf434ecaf9a40709f01fd93214c..d9a5fe0eeafc6d5e63163880f0aac83856b838ed 100644
(file)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-291,6
+291,8
@@
def generate(env):
]
if env['machine'] == 'x86_64':
ccflags += ['-m64']
+ if platform == 'darwin':
+ ccflags += ['-fno-common']
# See also:
# - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
ccflags += [