]> git.pld-linux.org Git - packages/wxWidgets.git/commitdiff
- disable warnings/errors about narrowing constants
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 15 Apr 2017 21:59:28 +0000 (23:59 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 15 Apr 2017 21:59:28 +0000 (23:59 +0200)
wxWidgets.spec

index 473f7731a750aae992b9cc6be0cbc40e5acd18f2..47e50b384f18fb1eba6564e15434fb907eb79814 100644 (file)
@@ -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} \
This page took 0.215668 seconds and 4 git commands to generate.