index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-24 11:24:38 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-24 11:24:38 +0100 |
commit | c7738474d36492e329d79f3c4977a37c18979ae4 (patch) | |
tree | f244d3ed82b6b732bc2ae6971d01c3e6842fd2c0 /core/systemd | |
parent | d93d8d2dbb125956b0c076bb2388c45b002dfaee (diff) |
-rw-r--r-- | core/systemd/PKGBUILD | 11 |
diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD index 0238f208..223a7cb8 100644 --- a/core/systemd/PKGBUILD +++ b/core/systemd/PKGBUILD @@ -5,3 +5,14 @@ eval "$( s/\(meson test -C build\)/\1 || true/ ' )" + +# disabling LTO on i486 in EFI, fails with undefined entry point efi_main +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f build | \ + sed ' + /local _meson_options.*/ a \ + _meson_options+=(-Db_lto=false) + ' + )" +fi |