summaryrefslogtreecommitdiff
path: root/build/dcmake
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/dcmake
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/dcmake')
-rwxr-xr-xbuild/dcmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/dcmake b/build/dcmake
index 9a1b61a93..96957472a 100755
--- a/build/dcmake
+++ b/build/dcmake
@@ -3,7 +3,7 @@
cd ..
export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH
-export CXXFLAGS="-Wall -g1 -O2 -ffast-math -std=gnu++0x -funswitch-loops -funsafe-loop-optimizations"
+export CXXFLAGS="-Wall -g1 -O2 -ffast-math -std=gnu++0x -funswitch-loops -funsafe-loop-optimizations -Wno-attributes"
cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log
make -j8 VERBOSE=1 2>>build/make.log