From 750ad2f37c17279cda7986babe1b30a2c8758820 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 1 Oct 2012 19:08:56 +0200 Subject: [PATCH] - workaround ar issue (following gtk-webkit3.spec) --- ewebkit.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ewebkit.spec b/ewebkit.spec index eed840b..0903a51 100644 --- a/ewebkit.spec +++ b/ewebkit.spec @@ -91,6 +91,11 @@ Pliki nagłówkowe biblioteki WebKit-EFL. %setup -q -n webkit-efl-svn-%{subver} %build +# replace -g2 with -g1 to not run into 4 GB ar format limit +# https://bugs.webkit.org/show_bug.cgi?id=91154 +# http://sourceware.org/bugzilla/show_bug.cgi?id=14625 +CFLAGS="%(echo %{rpmcflags} | sed 's/ -g2/ -g1/g')" +CXXFLAGS="%(echo %{rpmcxxflags} | sed 's/ -g2/ -g1/g')" %cmake . \ -DPORT=Efl %{__make} -- 2.44.0