From 3ac171699a27af6eaeec22527e24acbc5355a289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Thu, 18 Dec 2014 11:56:23 +0100 Subject: [PATCH] - use the common workaround for OOM during linking on s390 --- llvm.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index ac4e0f9..5bb07fa 100644 --- a/llvm.spec +++ b/llvm.spec @@ -35,7 +35,7 @@ Name: llvm Version: 3.5.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Low Level Virtual Machine Group: Development/Languages @@ -343,6 +343,11 @@ sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}/%{name}|g' Makefile.config.in sed -i 's|/lib\>|/%{_lib}/%{name}|g' tools/llvm-config/llvm-config.cpp %build +%ifarch s390 +# Decrease debuginfo verbosity to reduce memory consumption in linker +%global optflags %(echo %{optflags} | sed 's/-g /-g1 /') +%endif + # clang is lovely and all, but fedora builds with gcc # -fno-devirtualize shouldn't be necessary, but gcc has scary template-related # bugs that make it so. gcc 5 ought to be fixed. @@ -687,6 +692,9 @@ exit 0 %endif %changelog +* Thu Dev 18 2014 Dan HorĂ¡k - 3.5.0-5 +- use the common workaround for OOM during linking on s390 + * Wed Nov 19 2014 Jens Petersen - 3.5.0-4 - minor spec file cleanup from llvm34 package review: - move LICENSE to llvm-libs