Add static-libgcc and libstdc++ in build script

This commit is contained in:
Francesco Abbate 2020-06-17 23:51:52 +02:00
parent 3cdb487eac
commit ccc354bd22
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
cflags="-Wall -O3 -g -std=gnu11 -fno-strict-aliasing -Isrc -Ilib/font_renderer"
cxxflags="-Wall -O3 -g -std=c++03 -fno-exceptions -fno-rtti -Isrc -Ilib/font_renderer"
libcflags=
lflags=
lflags="-static-libgcc -static-libstdc++"
for package in libagg freetype2 lua5.2; do
libcflags+=" $(pkg-config --cflags $package)"
lflags+=" $(pkg-config --libs $package)"