diff options
Diffstat (limited to 'scons')
-rw-r--r-- | scons/gallium.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 03a4ef5881..d9a5fe0eea 100644 --- 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 += [ |