Browse Source

waifulib/compiler_optimizations: disable no-semantic-interposition for gcc4 in release builds too

master
mittorn 12 months ago committed by Alibek Omarov
parent
commit
c3b2cc4423
  1. 6
      scripts/waifulib/compiler_optimizations.py

6
scripts/waifulib/compiler_optimizations.py

@ -79,7 +79,11 @@ CFLAGS = { @@ -79,7 +79,11 @@ CFLAGS = {
'humanrights': {
'msvc': ['/O2', '/Zi'],
'owcc': ['-O3', '-foptimize-sibling-calls', '-fomit-leaf-frame-pointer', '-fomit-frame-pointer', '-fschedule-insns', '-funsafe-math-optimizations', '-funroll-loops', '-frerun-optimizer', '-finline-functions', '-finline-limit=512', '-fguess-branch-probability', '-fno-strict-aliasing', '-floop-optimize'],
'gcc': ['-O3', '-fno-semantic-interposition'],
'gcc': {
'4': ['-O3'],
'3': ['-O3'],
'default': ['-O3','-fno-semantic-interposition'],
},
'default': ['-O3']
},
'debug': {

Loading…
Cancel
Save