diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/makepkg/PKGBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD index 3d75cf2..cd5e8db 100644 --- a/linux/makepkg/PKGBUILD +++ b/linux/makepkg/PKGBUILD @@ -54,7 +54,10 @@ build() { # --buildtype=plain - meson won't add any flags to the command line # --prefix=... - install prefix # --auto-features=disabled - features should be explicitly enabled + # b_pie: Build executables as position independent + # b_lto: Use link time optimization meson --buildtype=plain --prefix=/usr/local --auto-features=disabled \ + -Db_pie=enabled -Db_lto=enabled -Dcpp_link_args="-fuse-ld=gold" \ -DPlasma=enabled -Dmanpage=enabled \ $srcdir/build |