handle makepkg.conf.d files

This commit is contained in:
2025-01-26 14:43:14 +01:00
parent 1b76a0fcf3
commit 2e080c8268
2 changed files with 43 additions and 8 deletions

View File

@@ -20,13 +20,19 @@ common:
packager: "ALHP $march$ <alhp@harting.dev>"
makeflags: "-j$buildproc$"
# https://somegit.dev/ALHP/ALHP.GO/issues/110
rustflags: "-Copt-level=3 -Ctarget-cpu=$march$ -Clink-arg=-z -Clink-arg=pack-relative-relocs"
rustflags:
- "-Copt-level=3"
- "-Ctarget-cpu=$march$"
- "-Clink-arg=-z"
- "-Clink-arg=pack-relative-relocs"
ltoflags:
- "-falign-functions=32" # https://github.com/InBetweenNames/gentooLTO/issues/164
kcflags: " -march=$march$ -O3"
kcppflags: " -march=$march$ -O3"
fcflags: "$CFLAGS"
fflags: "$CFLAGS"
fcflags: "$FFLAGS"
fflags:
- "-O2": "-O3"
- "-march=$march$"
lto:
rustflags:
@@ -35,4 +41,4 @@ lto:
options:
- "!lto": "lto"
cargo_profile_release_lto: "fat"
cargo_profile_release_lto: "fat"