]> git.pld-linux.org Git - packages/gtk-webkit3.git/commitdiff
Use sed to replace -g2 with -g1 auto/th/gtk-webkit3-1.10.0-2
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Mon, 1 Oct 2012 16:50:48 +0000 (18:50 +0200)
committerMarcin Banasiak <marcin.banasiak@gmail.com>
Mon, 1 Oct 2012 16:50:48 +0000 (18:50 +0200)
gtk-webkit3.spec

index 94f02034cc4c40e188acc8e37621d0be27403251..2846d5c5f06c686da71188fcf4eaddca1f28512a 100644 (file)
@@ -67,8 +67,6 @@ Requires:     pango >= 1:1.21.0
 %{?with_introspection:Conflicts:       gir-repository < 0.6.5-7}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                filterout -g2
-
 %description
 gtk-webkit3 is a port of the WebKit embeddable web component to GTK+ 3.
 
@@ -115,8 +113,8 @@ Dokumentacja API WebKita.
 # 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
-export CFLAGS="%{rpmcflags} -g1"
-export CXXFLAGS="%{rpmcxxflags} -g1"
+export CFLAGS="%(echo %{rpmcflags} | sed 's/ -g2/ -g1/g')"
+export CXXFLAGS="%(echo %{rpmcxxflags} | sed 's/ -g2/ -g1/g')"
 %configure \
        --disable-silent-rules \
        %{__enable_disable introspection} \
This page took 0.04263 seconds and 4 git commands to generate.