diff --git a/community/android-tools/PKGBUILD b/community/android-tools/PKGBUILD index 15f2d8190..8d2b6d27f 100644 --- a/community/android-tools/PKGBUILD +++ b/community/android-tools/PKGBUILD @@ -53,7 +53,7 @@ prepare() { cd $srcdir/e2fsprogs patch -p1 < ../fix_build_e2fsprogs.patch - CXXFLAGS+=" -Wno-error=attributes" + sed -i 's/-fno-common/-fno-common -Wno-error=attributes/' $srcdir/boringssl/CMakeLists.txt mkdir -p $srcdir/boringssl/build && cd $srcdir/boringssl/build && cmake -GNinja ..; ninja }