diff options
author | Doug Newgard | 2016-04-11 23:43:01 -0500 |
---|---|---|
committer | Doug Newgard | 2016-04-11 23:43:01 -0500 |
commit | 8bba795acd245cd7d1b178a7fd82addaa4e03f8d (patch) | |
tree | 92f27e50c24b0953eecd8b8033f6e76a8d77377e | |
parent | 52ab3cba082e68b92d95754764cf0cc5478cbeb4 (diff) | |
download | aur-8bba795acd245cd7d1b178a7fd82addaa4e03f8d.tar.gz |
Simpler CPPFLAGS workaround
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -31,11 +31,8 @@ prepare() { build() { cd $pkgname-$pkgver - # Ancient autoconf used upstream can't handle CPPFLAGS correctly - export CFLAGS="$CPPFLAGS $CFLAGS" - export CXXFLAGS="$CPPFLAGS $CXXFLAGS" - unset CPPFLAGS - + # Ancient autoconf used upstream can't handle CPPFLAGS correctly, so set CPP to ignore warnings + CPP="gcc -E -w" \ ./configure \ --prefix=/opt/$pkgname \ --with-freetype-includes=/usr/include/freetype2 \ |