From ec8beaec916b67d351745da3d85ec45a84d2da748831f1b4b222998023bf3a9b Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Thu, 10 May 2012 02:25:20 +0000 Subject: [PATCH] Accepting request 120530 from home:elvigia:branches:M17N - USe -std=gnu99 in all targets not only on ARM OBS-URL: https://build.opensuse.org/request/show/120530 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=66 --- freetype2.changes | 5 +++++ freetype2.spec | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/freetype2.changes b/freetype2.changes index e2ec16c..4a44890 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 9 19:46:11 UTC 2012 - crrodriguez@opensuse.org + +- USe -std=gnu99 in all targets not only on ARM + ------------------------------------------------------------------- Fri Mar 30 13:11:32 UTC 2012 - idonmez@suse.com diff --git a/freetype2.spec b/freetype2.spec index f241a91..2cce30f 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -87,9 +87,7 @@ It also contains a small tutorial for using that library. %endif %build -%ifarch arm -export CFLAGS="$CFLAGS -std=gnu99" -%endif +export CFLAGS="%optflags -std=gnu99 -D_GNU_SOURCE" %configure --without-bzip2 \ --disable-static make %{?_smp_mflags}