Accepting request 312759 from home:elvigia:branches:security

- Do not use -Werror.

OBS-URL: https://build.opensuse.org/request/show/312759
OBS-URL: https://build.opensuse.org/package/show/security/tpm-tools?expand=0&rev=28
This commit is contained in:
Marcus Meissner 2015-06-20 12:03:33 +00:00 committed by Git OBS Bridge
parent c8abf7afce
commit f1826b812e
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 19 16:03:22 UTC 2015 - crrodriguez@opensuse.org
- Do not use -Werror.
-------------------------------------------------------------------
Thu Apr 2 12:31:34 UTC 2015 - mpluskal@suse.com

View File

@ -90,13 +90,11 @@ tpm-tools applications.
%prep
%setup -q
autoreconf -fi
%build
autoreconf -fiv
sed -i -e 's@-Werror@@g' configure.in
# Disable unused-but-set warnings with gcc >= 4.6
%if 0%{?suse_version} >= 1200
export CFLAGS="%{optflags} -Wno-unused-but-set-variable"
%endif
%configure \
--disable-static
make %{?_smp_mflags}