Accepting request 135306 from GNOME:Apps

Reduce memory usage during linking on ARM to let the build succeed. (forwarded request 134346 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/135306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/inkscape?expand=0&rev=64
This commit is contained in:
Stephan Kulow 2012-09-23 19:05:21 +00:00 committed by Git OBS Bridge
parent d74ef13ddd
commit e92144587e
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 14 15:49:03 UTC 2012 - dmueller@suse.com
- Reduce memory usage during linking on ARM to let the build
succeed.
-------------------------------------------------------------------
Wed Sep 12 15:40:36 UTC 2012 - malcolmlewis@opensuse.org

View File

@ -165,8 +165,13 @@ Inkscape is a vector illustration program for the GNOME desktop.
%patch4 -p1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
RPM_OPT_FLAGS="%{optflags}"
%ifarch %arm
RPM_OPT_FLAGS="${RPM_OPT_FLAGS/-g/}"
export LDFLAGS+="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
%endif
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
# We're building without perl support for now...
%configure\
--with-python\