summaryrefslogtreecommitdiff
path: root/build/bcmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-04 01:43:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-04 01:43:42 +0300
commit65bccb4fc48707a8bcccedaa57a87468ad8b7349 (patch)
tree49d7821a48bd8545afb0f917cec185798f7e034c /build/bcmake
parent2e82d3003315806076a53df23064ba744e491fc2 (diff)
downloadmanaplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.gz
manaplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.bz2
manaplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.xz
manaplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.zip
Add compiler flag -Wno-attributes for prevent warnings about packed attributes.
Diffstat (limited to 'build/bcmake')
-rwxr-xr-xbuild/bcmake2
1 files changed, 1 insertions, 1 deletions
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