Compare commits
2 Commits
ebba9f591e
...
1f26d15160
Author | SHA1 | Date | |
---|---|---|---|
1f26d15160 | |||
d0deac3a65 |
2
Makefile
2
Makefile
@ -79,7 +79,7 @@ endif
|
||||
|
||||
ifneq (,$(firstword $(filter %mingw32 %-windows-gnu %-cygwin %-cygnus,$(MACHINE))))
|
||||
EXE_SUFFIX := .exe
|
||||
LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),dll,lib)
|
||||
LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),dll,a)
|
||||
else
|
||||
LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),$(if $(findstring -apple-darwin,$(MACHINE)),dylib,so),a)
|
||||
endif
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user