From f8a891a0cfbcf68d9d8511fe193d737c258a123c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 31 Jul 2012 14:44:25 +0200 Subject: [PATCH] sdlmame: make this build again. --- srcpkgs/sdlmame/template | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/srcpkgs/sdlmame/template b/srcpkgs/sdlmame/template index 8271a1c0a88..e165eea987e 100644 --- a/srcpkgs/sdlmame/template +++ b/srcpkgs/sdlmame/template @@ -39,17 +39,8 @@ do_extract() { } do_build() { - sed -i 's/-Werror//' makefile - sed -i 's/\(LDFLAGS = -Wl,--warn-common\)/\1 -Wl,-zmuldefs/' makefile - - if [ "$XBPS_MACHINE" = "x86_64" ]; then - makeargs="AMD64=1 PTR64=1" - else - makeargs="I686=1" - fi - - make ${makeargs} ${makejobs} - make ${makeargs} ${makejobs} tools + make NOWERROR=1 ${makejobs} + make NOWERROR=1 ${makejobs} tools } do_install() {