1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Fix build

This commit is contained in:
Asher Baker 2020-12-28 02:17:07 +00:00
parent 24affc964c
commit e50750cb80

View File

@ -207,9 +207,9 @@ class MMSConfig(object):
# 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']
cfg.cflags += ['-fno-omit-frame-pointer']
elif cxx.behavior == 'msvc':
cxx.cflags += ['/Oy-']
cfg.cflags += ['/Oy-']
# Platform-specifics
if builder.target_platform == 'linux':