Accepting request 77307 from home:elvigia:branches:multimedia:libs

- Remove -fno-strict-aliasing from cflags, no longer needed 
- disable automake silent rules.

OBS-URL: https://build.opensuse.org/request/show/77307
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsndfile?expand=0&rev=23
This commit is contained in:
Cristian Rodríguez 2011-07-29 00:45:15 +00:00 committed by Git OBS Bridge
parent b76d058f3f
commit 5c48da6304
3 changed files with 12 additions and 6 deletions

View File

@ -45,13 +45,13 @@ Authors:
%build %build
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter %define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
# autoreconf --force --install # autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %{warn_flags}" CFLAGS="$RPM_OPT_FLAGS %{warn_flags}"
export CFLAGS export CFLAGS
%configure \ %configure --disable-silent-rules \
--disable-static \ --disable-static \
--enable-sqlite \ --enable-sqlite \
--with-pic --with-pic
make make %{?_smp_mflags}
%install %install
make DESTDIR="$RPM_BUILD_ROOT" install make DESTDIR="$RPM_BUILD_ROOT" install

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 27 23:39:43 UTC 2011 - crrodriguez@opensuse.org
- Remove -fno-strict-aliasing from cflags, no longer needed
- disable automake silent rules.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 18 17:23:30 CEST 2011 - tiwai@suse.de Mon Jul 18 17:23:30 CEST 2011 - tiwai@suse.de

View File

@ -79,11 +79,11 @@ Authors:
%build %build
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter %define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
# autoreconf --force --install # autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %{warn_flags}" CFLAGS="$RPM_OPT_FLAGS %{warn_flags}"
export CFLAGS export CFLAGS
%configure \ %configure --disable-silent-rules \
--disable-static \ --disable-static \
--enable-sqlite \ --enable-sqlite \
--with-pic --with-pic
make %{?_smp_mflags} make %{?_smp_mflags}