Accepting request 85520 from M17N

fix compile when optflags are needed (forwarded request 85456 from adrianSuSE)

OBS-URL: https://build.opensuse.org/request/show/85520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/groff?expand=0&rev=36
This commit is contained in:
Lars Vogdt 2011-10-02 08:10:24 +00:00 committed by Git OBS Bridge
commit 148be2d6a2
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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}