Compare commits

..

2 Commits

2 changed files with 6 additions and 2 deletions

View File

@ -79,7 +79,7 @@ endif
ifneq (,$(firstword $(filter %mingw32 %-windows-gnu %-cygwin %-cygnus,$(MACHINE)))) ifneq (,$(firstword $(filter %mingw32 %-windows-gnu %-cygwin %-cygnus,$(MACHINE))))
EXE_SUFFIX := .exe EXE_SUFFIX := .exe
LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),dll,lib) LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),dll,a)
else else
LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),$(if $(findstring -apple-darwin,$(MACHINE)),dylib,so),a) LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),$(if $(findstring -apple-darwin,$(MACHINE)),dylib,so),a)
endif endif

View File

@ -15,7 +15,11 @@ fi
rm -rf "out" && mkdir -p "out" 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" ./etc/build/build_info.sh "gcc" > "out/.build_info"