mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-08 19:08:35 +00:00
Restore the frame pointer on Linux (#1200)
Looks like the default here changed when we upgraded the Linux build server. This is causing issues when debugging crash dumps.
This commit is contained in:
parent
bad0b51ab9
commit
d64da95b2e
@ -312,6 +312,9 @@ class SMConfig(object):
|
||||
if builder.options.opt == '1':
|
||||
cxx.cflags += ['-O3']
|
||||
|
||||
# Don't omit the frame pointer.
|
||||
cxx.cflags += ['-fno-omit-frame-pointer']
|
||||
|
||||
def configure_msvc(self, cxx):
|
||||
if builder.options.debug == '1':
|
||||
cxx.cflags += ['/MTd']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user