sdlmame: make this build again.
This commit is contained in:
parent
a0476b3544
commit
f8a891a0cf
1 changed files with 2 additions and 11 deletions
|
@ -39,17 +39,8 @@ do_extract() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i 's/-Werror//' makefile
|
make NOWERROR=1 ${makejobs}
|
||||||
sed -i 's/\(LDFLAGS = -Wl,--warn-common\)/\1 -Wl,-zmuldefs/' makefile
|
make NOWERROR=1 ${makejobs} tools
|
||||||
|
|
||||||
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
|
||||||
makeargs="AMD64=1 PTR64=1"
|
|
||||||
else
|
|
||||||
makeargs="I686=1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
make ${makeargs} ${makejobs}
|
|
||||||
make ${makeargs} ${makejobs} tools
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue