mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
Restore the frame pointer on Linux (#78)
See alliedmodders/sourcemod#1200
This commit is contained in:
parent
0ab7434c43
commit
80d3f9c14d
@ -276,9 +276,11 @@ class MMSConfig(object):
|
|||||||
elif cxx.behavior == 'msvc':
|
elif cxx.behavior == 'msvc':
|
||||||
cxx.cflags += ['/Od', '/RTC1']
|
cxx.cflags += ['/Od', '/RTC1']
|
||||||
|
|
||||||
# This needs to be after our optimization flags which could otherwise disable it.
|
|
||||||
if cxx.family == 'msvc':
|
|
||||||
# Don't omit the frame pointer.
|
# Don't omit the frame pointer.
|
||||||
|
# This needs to be after our optimization flags which could otherwise disable it.
|
||||||
|
if cxx.behavior == 'gcc':
|
||||||
|
cxx.cflags += ['-fno-omit-frame-pointer']
|
||||||
|
elif cxx.behavior == 'msvc':
|
||||||
cxx.cflags += ['/Oy-']
|
cxx.cflags += ['/Oy-']
|
||||||
|
|
||||||
# Platform-specifics
|
# Platform-specifics
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user