Accepting request 444918 from home:elvigia:branches:graphics
- Support webp format, BuildRequires libwebp-devel - Honour %optflags correctly. OBS-URL: https://build.opensuse.org/request/show/444918 OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=34
This commit is contained in:
parent
801d752d5d
commit
f0717d3a90
10
gd.changes
10
gd.changes
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 14:33:22 UTC 2016 - crrodriguez@opensuse.org
|
||||
|
||||
- Support webp format, BuildRequires libwebp-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 14:20:54 UTC 2016 - crrodriguez@opensuse.org
|
||||
|
||||
- Honour %optflags correctly.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 14:59:25 UTC 2016 - badshah400@gmail.com
|
||||
|
||||
|
8
gd.spec
8
gd.spec
@ -49,6 +49,7 @@ BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libwebp-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: xorg-x11-libX11-devel
|
||||
BuildRequires: xorg-x11-libXau-devel
|
||||
@ -105,10 +106,11 @@ autoreconf -fiv
|
||||
|
||||
# ADDITIONAL CFLAGS ARE NEEDED TO FIX TEST FAILURES IN CASE OF i586, BUT HARMLESS TO APPLY GENERALLY FOR ALL ix86
|
||||
%ifarch %{ix86}
|
||||
CFLAGS="$CFLAGS -msse -mfpmath=sse"
|
||||
export CFLAGS
|
||||
export CFLAGS="%optflags -msse -mfpmath=sse"
|
||||
%else
|
||||
CFLAGS="$CFLAGS -ffp-contract=off"
|
||||
%ifnarch x86_64
|
||||
export CFLAGS="%optflags -ffp-contract=off"
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# without-x -- useless switch which just mangles cflags
|
||||
|
Loading…
Reference in New Issue
Block a user