-Werror is for upstream, not for packages

... especially as it breaks our build in configure:

configure:8237: gcc  -O2 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro  conftest.c  >&5
cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security ]
f41
David Tardon 11 years ago
parent 1e8643c575
commit b9adaae17b

@ -1045,7 +1045,7 @@ export PATH=$QT4DIR/bin:$PATH
#use the RPM_OPT_FLAGS but remove the OOo overridden ones
for i in $RPM_OPT_FLAGS; do
case "$i" in
-pipe|-Wall|-g|-fexceptions) continue;;
-pipe|-Wall|-Werror*|-g|-fexceptions) continue;;
esac
ARCH_FLAGS="$ARCH_FLAGS $i"
done

Loading…
Cancel
Save