Update AMBuildScript

This commit is contained in:
Accelerator 2023-12-01 16:07:36 +03:00 committed by GitHub
parent a47c6c7171
commit 336c81cc3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,11 +140,12 @@ class ExtensionConfig(object):
'-fvisibility=hidden', '-fvisibility=hidden',
] ]
cxx.cxxflags += [ cxx.cxxflags += [
'-std=c++14', '-std=c++17',
'-fno-exceptions', '-fno-exceptions',
'-fno-threadsafe-statics', '-fno-threadsafe-statics',
'-Wno-non-virtual-dtor', '-Wno-non-virtual-dtor',
'-Wno-overloaded-virtual', '-Wno-overloaded-virtual',
'-Wno-register',
'-fvisibility-inlines-hidden', '-fvisibility-inlines-hidden',
] ]
cxx.linkflags += ['-m32'] cxx.linkflags += ['-m32']
@ -205,6 +206,7 @@ class ExtensionConfig(object):
'/EHsc', '/EHsc',
'/GR-', '/GR-',
'/TP', '/TP',
'/std:c++17',
] ]
cxx.linkflags += [ cxx.linkflags += [
'/MACHINE:X86', '/MACHINE:X86',