From e50750cb807244e14ef59e08ae197d2955ebc3d4 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Mon, 28 Dec 2020 02:17:07 +0000 Subject: [PATCH] Fix build --- AMBuildScript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AMBuildScript b/AMBuildScript index db79fdf..e9ef9d2 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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':