Browse Source

waifulib: set debug builds to be built with -O0, gcc -Od is broken

pull/2/head
Alibek Omarov 4 years ago
parent
commit
accacd54f5
  1. 3
      scripts/waifulib/compiler_optimizations.py

3
scripts/waifulib/compiler_optimizations.py

@ -74,9 +74,8 @@ CFLAGS = { @@ -74,9 +74,8 @@ CFLAGS = {
},
'debug': {
'msvc': ['/Od'],
'gcc': ['-Og'],
'owcc': ['-O0', '-fno-omit-frame-pointer', '-funwind-tables', '-fno-omit-leaf-frame-pointer'],
'default': ['-O1']
'default': ['-O0']
},
'sanitize': {
'msvc': ['/Od', '/RTC1'],

Loading…
Cancel
Save