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" ] }, {