From e79998c800a9c4384e1cee9b756ac9d4827f5c84f0c79cbaec00ad0f9694ba45 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Thu, 29 Sep 2011 20:08:29 +0000 Subject: [PATCH] Accepting request 85456 from Base:build:arm fix compile when optflags are needed OBS-URL: https://build.opensuse.org/request/show/85456 OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=28 --- groff.changes | 5 +++++ groff.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/groff.changes b/groff.changes index cb15c98..239dfa9 100644 --- a/groff.changes +++ b/groff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 29 12:49:28 UTC 2011 - adrian@suse.de + +- use RPM_OPT_FLAGS for compile + ------------------------------------------------------------------- Thu Sep 29 08:09:33 UTC 2011 - mvyskocil@suse.cz diff --git a/groff.spec b/groff.spec index 214090b..67f9730 100644 --- a/groff.spec +++ b/groff.spec @@ -114,8 +114,8 @@ export PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH # #libtoolize --force #autoreconf --force --install -export CFLAGS="-fno-strict-aliasing" -export CXXFLAGS="-fno-strict-aliasing" +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{configure} ulimit -c unlimited %{__make}