From 6d0ac6b58e1543efcd561777c37d7e28ab77e46d Mon Sep 17 00:00:00 2001 From: loonycyborg Date: Mon, 18 Jun 2018 12:47:36 +0300 Subject: [PATCH] flatpak: pass hardening options when building static boost (cherry-picked from commit f5974941576fb541ebddb0d3e690cc469b8f5e75) --- packaging/flatpak/org.wesnoth.Wesnoth.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/flatpak/org.wesnoth.Wesnoth.json b/packaging/flatpak/org.wesnoth.Wesnoth.json index ca61a834d2c..1424e7fd3c2 100644 --- a/packaging/flatpak/org.wesnoth.Wesnoth.json +++ b/packaging/flatpak/org.wesnoth.Wesnoth.json @@ -34,7 +34,7 @@ ], "build-commands": [ "./bootstrap.sh --prefix=/app --with-libraries=filesystem,locale,iostreams,program_options,regex,random,thread", - "./b2 -j4 install link=static variant=release address-model=64 --layout=system" + "./b2 -j4 install cxxflags='-fPIE -fstack-protector-strong' define=_FORTIFY_SOURCE=2 link=static variant=release address-model=64 --layout=system" ] }, {