summaryrefslogtreecommitdiffstats
path: root/abs/extra/meson/arch-meson
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/meson/arch-meson')
-rw-r--r--abs/extra/meson/arch-meson8
1 files changed, 5 insertions, 3 deletions
diff --git a/abs/extra/meson/arch-meson b/abs/extra/meson/arch-meson
index c4a9e7c..88af9d4 100644
--- a/abs/extra/meson/arch-meson
+++ b/abs/extra/meson/arch-meson
@@ -1,5 +1,5 @@
#!/bin/bash -ex
-# Meson wrapper for Arch Linux packaging
+# Highly opinionated wrapper for Arch Linux packaging
exec meson setup \
--prefix /usr \
@@ -16,6 +16,8 @@ exec meson setup \
--localstatedir /var \
--sharedstatedir /var/lib \
--buildtype release \
+ --auto-features enabled \
--wrap-mode nofallback \
- "$@" \
- -D b_lto=true
+ -D b_lto=true \
+ -D b_pie=true \
+ "$@"