Accepting request 736727 from home:elvigia:branches:M17N

- Use the compiler default C std, since 2012 gcc defaults
  have changed, we now only need to get rid of ANSIFLAGS, override
  that variable instead.

OBS-URL: https://build.opensuse.org/request/show/736727
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=160
This commit is contained in:
Ismail Dönmez 2019-10-10 12:41:54 +00:00 committed by Git OBS Bridge
parent 66d0d31889
commit dcd24e723f
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 9 17:06:32 UTC 2019 - Cristian Rodríguez <crrodriguez@opensuse.org>
- Use the compiler default C std, since 2012 gcc defaults
have changed, we now only need to get rid of ANSIFLAGS, override
that variable instead.
-------------------------------------------------------------------
Tue Jul 2 07:19:53 UTC 2019 - Ismail Dönmez <idonmez@suse.com>

View File

@ -94,14 +94,14 @@ It also contains a small tutorial for using that library.
%autopatch -p1
%build
export CFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
%configure \
--with-bzip2 \
--with-png \
--with-zlib \
--enable-freetype-config \
--disable-static
make %{?_smp_mflags}
make %{?_smp_mflags} ANSIFLAGS=
%install
%make_install