Accepting request 137852 from LibreOffice:Factory

- Instead of disabling optimizations completely, use -O2. Fixes bnc#780611 (forwarded request 137779 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/137852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=38
This commit is contained in:
Stephan Kulow 2012-10-13 17:53:42 +00:00 committed by Git OBS Bridge
commit 733189d68a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 25 09:57:15 UTC 2012 - idonmez@suse.com
- Instead of disabling optimizations completely, use -O2.
Fixes bnc#780611
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 13 10:37:51 UTC 2012 - pmladek@suse.com Fri Jul 13 10:37:51 UTC 2012 - pmladek@suse.com

View File

@ -1435,7 +1435,7 @@ source /etc/profile.d/alljava.sh
export JAVA_HOME=%{java_home} export JAVA_HOME=%{java_home}
%endif %endif
# use RPM_OPT_FLAGS, ... # use RPM_OPT_FLAGS, ...
ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing" ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]/-O2/g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
CFLAGS="$ARCH_FLAGS" CFLAGS="$ARCH_FLAGS"
CXXFLAGS="$ARCH_FLAGS" CXXFLAGS="$ARCH_FLAGS"
export ARCH_FLAGS CFLAGS CXXFLAGS export ARCH_FLAGS CFLAGS CXXFLAGS