[packages/ewebkit] - workaround ar issue (following gtk-webkit3.spec)
qboosh
qboosh at pld-linux.org
Mon Oct 1 19:07:38 CEST 2012
commit 750ad2f37c17279cda7986babe1b30a2c8758820
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 1 19:08:56 2012 +0200
- 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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ewebkit.git/commitdiff/750ad2f37c17279cda7986babe1b30a2c8758820
More information about the pld-cvs-commit
mailing list