Update AMBuildScript

This commit is contained in:
Accelerator 2021-06-26 14:16:52 +05:00 committed by GitHub
parent 5aa6ab15d6
commit 77a1cc2a63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']