Dominique Leuenberger 2019-10-22 13:37:51 +00:00 committed by Git OBS Bridge
commit f64dcfa378
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