- Make debuginfo's smaller on IBS.
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=326
This commit is contained in:
parent
bba63ed359
commit
ce2a16fa0b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 17 12:05:26 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Make debuginfo's smaller on IBS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 17 08:20:21 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
|
@ -1034,7 +1034,12 @@ fi
|
||||
# make sure that JAVA_HOME is set correctly
|
||||
source %{_sysconfdir}/profile.d/alljava.sh
|
||||
# use RPM_OPT_FLAGS, ...
|
||||
%if 0%{?is_opensuse} != 1
|
||||
# ON IBS remove big debugsymbols as we simply consume too much space
|
||||
ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g /-g1 /g' -e 's/ -g / -g1 /g' -e 's/ -g$/ -g1/g'`"
|
||||
%else
|
||||
ARCH_FLAGS="%{optflags}"
|
||||
%endif
|
||||
CFLAGS="$ARCH_FLAGS"
|
||||
CXXFLAGS="$ARCH_FLAGS"
|
||||
export ARCH_FLAGS CFLAGS CXXFLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user