summaryrefslogtreecommitdiff
path: root/build/bmake45
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/bmake45
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/bmake45')
-rwxr-xr-xbuild/bmake453
1 files changed, 2 insertions, 1 deletions
diff --git a/build/bmake45 b/build/bmake45
index 00cb09413..b7509087e 100755
--- a/build/bmake45
+++ b/build/bmake45
@@ -37,7 +37,8 @@ export CXXFLAGS="-Wunreachable-code -Wmissing-field-initializers \
-Wpacked -Wshadow -Wunused -Wsynth \
-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \
-Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \
--Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2"
+-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 \
+-Wno-attributes"
autoreconf -i
./configure --prefix=$dir/run \