[packages/wxWidgets] - disable warnings/errors about narrowing constants
baggins
baggins at pld-linux.org
Sun Apr 16 00:00:03 CEST 2017
commit 593591ba3bdaa4d92feb7f3f275670af48ff3bfe
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Apr 15 23:59:28 2017 +0200
- disable warnings/errors about narrowing constants
wxWidgets.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/wxWidgets.spec b/wxWidgets.spec
index 473f773..47e50b3 100644
--- a/wxWidgets.spec
+++ b/wxWidgets.spec
@@ -797,7 +797,7 @@ cp -f /usr/share/automake/config.sub .
%{__aclocal} -I build/aclocal
%{__autoconf}
-CPPFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC -I`pwd`/include"; export CPPFLAGS
+CPPFLAGS="%{rpmcppflags} %{rpmcflags} -Wno-narrowing -fPIC -I`pwd`/include"; export CPPFLAGS
# avoid adding -s to LDFLAGS
LDFLAGS=" "; export LDFLAGS
args="%{?with_debug:--enable-debug}%{!?with_debug:--disable-debug} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/593591ba3bdaa4d92feb7f3f275670af48ff3bfe
More information about the pld-cvs-commit
mailing list