From ccc354bd225919363fecae53274496a6ac15bd72 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Wed, 17 Jun 2020 23:51:52 +0200 Subject: [PATCH] Add static-libgcc and libstdc++ in build script --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 992e1226..0b29ac14 100755 --- a/build.sh +++ b/build.sh @@ -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)"