summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2017-09-15 16:59:39 +0200
committerMichael Straube2017-09-15 16:59:39 +0200
commit5ab2c8572504d3994a997a8bd39368dc7f4ba836 (patch)
tree5b319682a3b37fced6cb1153025f0778b6203921
parentfec0a406ace8675b8e01e4a67ade40077a49099e (diff)
downloadaur-5ab2c8572504d3994a997a8bd39368dc7f4ba836.tar.gz
Respect CPPFLAGS
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 762cc0e42d0..b4b115a979d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sdlpop
pkgdesc = An open-source port of Prince of Persia
pkgver = 1.17
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/NagyD/SDLPoP
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 0d4ac54c52b..aad5f1159eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sdlpop
pkgver=1.17
-pkgrel=3
+pkgrel=4
pkgdesc="An open-source port of Prince of Persia"
arch=('i686' 'x86_64')
license=('GPL3')
@@ -21,6 +21,7 @@ prepare() {
build() {
cd SDLPoP-$pkgver/src
+ export CFLAGS+=" $CPPFLAGS"
make
}