From 77a1cc2a6397175d0acf79c9c72b5f112412db8a Mon Sep 17 00:00:00 2001 From: Accelerator Date: Sat, 26 Jun 2021 14:16:52 +0500 Subject: [PATCH] Update AMBuildScript --- AMBuildScript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AMBuildScript b/AMBuildScript index 56b2535..eddb8e7 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -277,6 +277,9 @@ class BuildInfo: if self.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 self.builder.options.debug == '1': cxx.cflags += ['/MTd']