flatpak: pass hardening options when building static boost

(cherry-picked from commit f597494157)
This commit is contained in:
loonycyborg 2018-06-18 12:47:36 +03:00
parent 8137e9a454
commit 6d0ac6b58e

View file

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