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}