1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:07:36 +00:00

Ports: Use SERENITY_ARCH in --target/--host

Recent ports already do this, let's update the others as well. One step
closer to multi-arch support for ports! :^)
This commit is contained in:
Linus Groh 2021-03-11 21:58:18 +01:00 committed by Andreas Kling
parent 7cb9237be9
commit 4c497228a9
9 changed files with 14 additions and 10 deletions

View file

@ -6,7 +6,11 @@ useconfigure=true
makeopts=tcc
configure() {
run ./configure --cross-prefix=i686-pc-serenity- --cpu=i686 --triplet=i686-pc-serenity --crtprefix=/usr/lib
run ./configure \
--cross-prefix="${SERENITY_ARCH}-pc-serenity-" \
--cpu="${SERENITY_ARCH}" \
--triplet="${SERENITY_ARCH}-pc-serenity" \
--crtprefix=/usr/lib
}
export CONFIG_ldl=no