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

This commit is contained in:
mittorn 2023-12-01 07:07:51 +03:00 committed by Alibek Omarov
parent d84130219f
commit c3b2cc4423
1 changed files with 5 additions and 1 deletions

View File

@ -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': {