added simple readme reminder

This commit is contained in:
christian 2021-07-03 14:45:06 +02:00
parent ed48779c05
commit 9fa56918d6

11
README.md Normal file
View File

@ -0,0 +1,11 @@
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']