scons: Add -fno-common for 64-bit builds on Mac OS X.
This option is also needed for 64-bit builds if llvm is enabled. Other the build fails during linking.
This commit is contained in:
parent
6043ee6e62
commit
462e8a8b0d
|
@ -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 += [
|
||||
|
|
Loading…
Reference in New Issue