Improved the GNU/Hurd build script to support the 'x86_64' architecture.

This commit is contained in:
LoRd_MuldeR 2024-11-14 21:49:16 +01:00
parent ebba9f591e
commit d0deac3a65
Signed by: mulder
GPG Key ID: 2B5913365F57E03F

View File

@ -15,7 +15,11 @@ fi
rm -rf "out" && mkdir -p "out"
mk_slunk "i686" "i686-gnu" "MARCH=pentiumpro MTUNE=pentium3"
if [ "$(arch)" == "x86_64" ]; then
mk_slunk "x86_64" "x86_64-gnu" "MARCH=x86-64 MTUNE=nocona"
else
mk_slunk "i686" "i686-gnu" "MARCH=pentiumpro MTUNE=pentium3"
fi
./etc/build/build_info.sh "gcc" > "out/.build_info"