From dcd24e723fc7304e2ed9ffd8a0a5da6dac68130a5f5a975a1d05dfaf960a732d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 10 Oct 2019 12:41:54 +0000 Subject: [PATCH] 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 --- freetype2.changes | 7 +++++++ freetype2.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/freetype2.changes b/freetype2.changes index cc4ecec..5e12cc1 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Oct 9 17:06:32 UTC 2019 - Cristian Rodríguez + +- 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 diff --git a/freetype2.spec b/freetype2.spec index 9f53d7b..816d289 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -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