quake2: fix QA errors
authorKoen Kooi <koen@openembedded.org>
Thu, 10 Sep 2009 13:18:48 +0000 (15:18 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 10 Sep 2009 13:18:48 +0000 (15:18 +0200)
recipes/quake/quake2_svn.bb

index 31491ad..a01def8 100644 (file)
@@ -5,6 +5,7 @@ DEPENDS = "libsdl-x11 libxxf86dga"
 
 SRCREV = "205"
 PV = "0.16.1+svnr${SRCREV}"
+PR = "r1"
 
 SRC_URI = "svn://svn.icculus.org/quake2/;module=trunk \
            file://quake2-arm.patch;patch=1"
@@ -14,7 +15,7 @@ S = "${WORKDIR}/trunk"
 export BUILD_SDLQUAKE2=YES
 export OSTYPE=Linux
 export ARCH=${TARGET_ARCH}
-export BASE_CFLAGS="${TARGET_CC_ARCH} -Wall -pipe -Dstricmp=strcasecmp"
+export BASE_CFLAGS="${TARGET_CC_ARCH} ${LDFLAGS} -Wall -pipe -Dstricmp=strcasecmp"
 export OPT_CFLAGS="-O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations"
 
 do_compile() {