From 65bccb4fc48707a8bcccedaa57a87468ad8b7349 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Jan 2017 01:43:42 +0300 Subject: Add compiler flag -Wno-attributes for prevent warnings about packed attributes. --- build/bcmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/bcmake') diff --git a/build/bcmake b/build/bcmake index ec0234367..4cfc60646 100755 --- a/build/bcmake +++ b/build/bcmake @@ -3,7 +3,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH -export CXXFLAGS="-Wall -O5 -flto -fwhole-program -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x" +export CXXFLAGS="-Wall -O5 -flto -fwhole-program -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x -Wno-attributes" #export CXXFLAGS="-Wall -O5 -g1 -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log -- cgit v1.2.3-60-g2f50