Accepting request 71685 from home:namtrac:branches:security
Disable gcc's new unused-but-set-variable warnings, these are just noise as BIO_*(...) functions returns a value and needs to be handled OBS-URL: https://build.opensuse.org/request/show/71685 OBS-URL: https://build.opensuse.org/package/show/security/tpm-tools?expand=0&rev=10
This commit is contained in:
parent
ce0e77aac5
commit
12fb3f5c0b
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 27 11:17:43 UTC 2011 - idonmez@novell.com
|
||||||
|
|
||||||
|
- Disable gcc's new unused-but-set-variable warnings, these are just
|
||||||
|
noise as BIO_*(...) functions returns a value and needs to
|
||||||
|
be handled
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 27 07:54:30 CEST 2010 - meissner@suse.de
|
Mon Sep 27 07:54:30 CEST 2010 - meissner@suse.de
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ Release: 4
|
|||||||
Summary: Trusted Platform Module (TPM) administration tools
|
Summary: Trusted Platform Module (TPM) administration tools
|
||||||
Source0: %name-%version.tar.bz2
|
Source0: %name-%version.tar.bz2
|
||||||
Source1: %name-rpmlintrc
|
Source1: %name-rpmlintrc
|
||||||
#Patch0: %name-%version.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
|
|
||||||
@ -51,7 +50,11 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export RPMOPTFLAGS="$RPM_OPT_FLAGS -Wall -pipe -fno-strict-aliasing"
|
# 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
|
%configure --disable-static
|
||||||
make
|
make
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user