community/android-tools: fix

This commit is contained in:
Kevin Mihelich 2018-06-12 00:30:11 +00:00
parent cbd289b648
commit 5cbf42948f

View file

@ -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
}