diff options
author | Doug Newgard | 2015-09-07 09:59:47 -0500 |
---|---|---|
committer | Doug Newgard | 2015-09-07 09:59:47 -0500 |
commit | aec45e9106b2d53b2c644fad8cd72e2f2f335e82 (patch) | |
tree | 0722f95ea86ea32d8e8d803be0b17d590fc0f07f | |
parent | f7bdba6e782779c586e59786fba67ca885ae35b3 (diff) | |
download | aur-aec45e9106b2d53b2c644fad8cd72e2f2f335e82.tar.gz |
Better CPPFLAGS handling
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -28,9 +28,13 @@ prepare() { build() { cd $pkgname-$pkgver + export PATH="$srcdir/$pkgname-$pkgver:$PATH" + export CFLAGS="$CPPFLAGS $CFLAGS" + export CXXFLAGS="$CPPFLAGS $CXXFLAGS" + unset CPPFLAGS - CPPFLAGS="" ./configure \ + ./configure \ --prefix=/opt/$pkgname \ --with-freetype-includes=/usr/include/freetype2 \ --with-wxwidgets \ |