diff --git a/etc/build/gnuhurd/mk-release.sh b/etc/build/gnuhurd/mk-release.sh index b804da2..003f0d3 100755 --- a/etc/build/gnuhurd/mk-release.sh +++ b/etc/build/gnuhurd/mk-release.sh @@ -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"