rundaca: statically link libstdc++ for now

This commit is contained in:
Daniel Marjamäki 2016-06-20 10:13:56 +02:00
parent dde6f5eaea
commit 315f705f53
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def daca2(foldernum):
rev = rev[:rev.find('\n')]
# compile cppcheck
subprocess.call(['nice', 'make', 'SRCDIR=build', 'CFGDIR=' + os.path.expanduser('~/cppcheck/cfg'), 'CXXFLAGS=-g -O2', 'CPPFLAGS=-DMAXTIME=600'])
subprocess.call(['nice', 'make', 'SRCDIR=build', 'CFGDIR=' + os.path.expanduser('~/cppcheck/cfg'), 'CXXFLAGS=-g -O2 -static-libstdc++', 'CPPFLAGS=-DMAXTIME=600'])
subprocess.call(['cp', 'cppcheck', os.path.expanduser('~/daca2/cppcheck-O2')])
# run cppcheck