diff --git a/AMBuildScript b/AMBuildScript index 05cbb356..7aa75da5 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -322,6 +322,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']