diff --git a/srcpkgs/bamf/template b/srcpkgs/bamf/template index ffa4a67a45b..cd9c839de28 100644 --- a/srcpkgs/bamf/template +++ b/srcpkgs/bamf/template @@ -12,7 +12,7 @@ license="LGPL-3" homepage="https://launchpad.net/bamf" distfiles="https://launchpad.net/bamf/${version%.*}/$version/+download/$pkgname-$version.tar.gz" checksum=340d7b5a463afcd33135ae73a7e4cf6a93a4daaf6f72b70abc09dc66d18a3b14 -CFLAGS="-Wno-deprecated-declarations" +CFLAGS="-Wno-cpp -Wno-deprecated-declarations" build_options="gir" if [ -z "$CROSS_BUILD" ]; then