mirror of https://github.com/flysand7/ciabatta.git
Rename DEBUG to _DEBUG
This commit is contained in:
parent
5a9bea11ad
commit
fd8f580b63
2
build.py
2
build.py
|
@ -74,7 +74,7 @@ if args.mode == 'release':
|
||||||
else: # 'debug'
|
else: # 'debug'
|
||||||
cc_flags.append('-g')
|
cc_flags.append('-g')
|
||||||
cc_flags.append('-O0')
|
cc_flags.append('-O0')
|
||||||
cc_defines.append('DEBUG')
|
cc_defines.append('_DEBUG')
|
||||||
if target != 'windows':
|
if target != 'windows':
|
||||||
cc_flags.append('-fpic')
|
cc_flags.append('-fpic')
|
||||||
cc_defines.append(f'_CIA_OS_{target.upper()}')
|
cc_defines.append(f'_CIA_OS_{target.upper()}')
|
||||||
|
|
Loading…
Reference in New Issue