Browse Source

waf/compiler_optimizations: remove no-semantic-interposition for gcc4

master
mittorn 1 year ago committed by Alibek Omarov
parent
commit
4f80922358
  1. 1
      scripts/waifulib/compiler_optimizations.py

1
scripts/waifulib/compiler_optimizations.py

@ -64,6 +64,7 @@ CFLAGS = {
'msvc': ['/O2', '/Oy', '/Zi'], 'msvc': ['/O2', '/Oy', '/Zi'],
'gcc': { 'gcc': {
'3': ['-O3', '-fomit-frame-pointer'], '3': ['-O3', '-fomit-frame-pointer'],
'4': ['-Ofast', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer'],
'default': ['-Ofast', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer', '-fno-semantic-interposition'] 'default': ['-Ofast', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer', '-fno-semantic-interposition']
}, },
'clang': ['-Ofast'], 'clang': ['-Ofast'],

Loading…
Cancel
Save