]> git.pld-linux.org Git - packages/ewebkit.git/blobdiff - ewebkit.spec
- workaround ar issue (following gtk-webkit3.spec)
[packages/ewebkit.git] / ewebkit.spec
index eed840b1df6368fe3fa64a9fd9cfc156303953d0..0903a5163dc16aef7893398402e9e82f42e21b44 100644 (file)
@@ -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}
This page took 0.563133 seconds and 4 git commands to generate.