diff options
author | Daniel Tobias | 2020-09-10 14:11:44 +1000 |
---|---|---|
committer | Daniel Tobias | 2020-09-10 14:11:44 +1000 |
commit | b3c907849569ce89452773338719c33715e60ec5 (patch) | |
tree | ced473dc6c42b696a3322ddd37c4316813794277 | |
parent | 6e8e3998accd26512d4450aec1f8ec4a5e689fb9 (diff) | |
download | aur-b3c907849569ce89452773338719c33715e60ec5.tar.gz |
add FORTIFY_SOURCE and PIE
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -30,7 +30,17 @@ prepare(){ git submodule update --init --recursive cd "${srcdir}/${_pkgname}/${_builddir}" - meson setup ../../../build/ --prefix=/usr --buildtype=release --optimization=2 --strip -Dopenal=true -Dc_args=-minline-all-stringops #-Dwifi=true #wifi wants libagg?? + + meson setup ../../../build/ \ + --prefix=/usr \ + --buildtype=release \ + --optimization=2 \ + --strip \ + -Dc_args='-minline-all-stringops -D_FORTIFY_SOURCE=2' \ + -Db_pie=true \ + -Dopenal=true + #-Dwifi=true #wifi wants libagg?? + meson configure ../../../build/ } |