435 B
435 B
AMBuildScript needs '-std=c++14', instead of '-std=c++11',
def configure_linux(self, cxx): cxx.defines += ['_LINUX', 'POSIX'] cxx.linkflags += ['-Wl,--exclude-libs,ALL', '-lm'] if cxx.vendor == 'gcc': cxx.linkflags += ['-static-libgcc'] elif cxx.vendor == 'clang': cxx.linkflags += ['--static-libgcc']
remember to use that instead of cxx.linkflags += ['-static-libgcc'] and cxx.linkflags += ['-lgcc_eh']