[packages/gtk-webkit3] Replace -g2 with -g1 to not run into 4 GB ar format limit. Release 2
Jakub Bogusz
qboosh at pld-linux.org
Mon Oct 1 18:28:37 CEST 2012
On Mon, Oct 01, 2012 at 09:33:21AM +0200, megabajt wrote:
> commit 30934c41b1c49a1d41f4e83803528b019ecd60fa
> Author: Marcin Banasiak <marcin.banasiak at gmail.com>
> Date: Mon Oct 1 09:32:59 2012 +0200
>
> Replace -g2 with -g1 to not run into 4 GB ar format limit. Release 2
> @@ -68,6 +67,8 @@ 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.
>
> @@ -111,6 +112,11 @@ Dokumentacja API WebKita.
> %{__autoheader}
> %{__automake}
> %{__autoconf}
> +# 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"
Not this way, please.
You can use sed to replace -g2 with -g1, but don't add -g1
unconditionally.
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list