From 6f0e2dda985d42d4e8837482c82b13f927bb8154 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 30 Nov 2017 16:51:13 +0100 Subject: minor improvments --- build_wxwidgets.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build_wxwidgets.sh') diff --git a/build_wxwidgets.sh b/build_wxwidgets.sh index 6622ecf..797a258 100755 --- a/build_wxwidgets.sh +++ b/build_wxwidgets.sh @@ -19,6 +19,8 @@ git checkout . cd .. mkdir -p "${WDIR}-${HOSTT:-host}" cd "${WDIR}-${HOSTT:-host}" + +# Verify: Do we need '-Wl,-gc-sections' since we are creating static lib archives? CXXFLAGS="-ffunction-sections -fdata-sections -Os -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-undef" ../${WDIR}/configure --without-expat --disable-compat28 --disable-compat30 \ --disable-richtooltip --disable-richmsgdlg --disable-richtext \ -- cgit v1.2.3