Skip to content

Commit e50750c

Browse files
committed
Fix build
1 parent 24affc9 commit e50750c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: AMBuildScript

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ class MMSConfig(object):
207207
# Don't omit the frame pointer.
208208
# This needs to be after our optimization flags which could otherwise disable it.
209209
if cxx.behavior == 'gcc':
210-
cxx.cflags += ['-fno-omit-frame-pointer']
210+
cfg.cflags += ['-fno-omit-frame-pointer']
211211
elif cxx.behavior == 'msvc':
212-
cxx.cflags += ['/Oy-']
212+
cfg.cflags += ['/Oy-']
213213

214214
# Platform-specifics
215215
if builder.target_platform == 'linux':

0 commit comments

Comments
 (0)