[mingw-webkitgtk] Lower debug level on 64 bit as well
Kalev Lember
kalev at fedoraproject.org
Tue Mar 20 11:27:29 UTC 2012
commit 7d75f84c0138ca3e5a925174010871480d001551
Author: Kalev Lember <kalevlember at gmail.com>
Date: Tue Mar 20 13:26:14 2012 +0200
Lower debug level on 64 bit as well
Fixes linking in koji:
Creating library file: .libs/libwebkitgtk-1.0.dll.a/usr/lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld: final link failed: File truncated
collect2: error: ld returned 1 exit status
mingw-webkitgtk.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mingw-webkitgtk.spec b/mingw-webkitgtk.spec
index be2b37f..81390f0 100644
--- a/mingw-webkitgtk.spec
+++ b/mingw-webkitgtk.spec
@@ -199,6 +199,7 @@ autoreconf --verbose --install -I Source/autotools
%build
# lower debug level to prevent memory exhaustion by linker
%global mingw32_cflags %(echo %{mingw32_cflags} | sed 's/-g /-g1 /')
+%global mingw32_cflags %(echo %{mingw64_cflags} | sed 's/-g /-g1 /')
%mingw_configure \
--with-target=win32 \
More information about the scm-commits
mailing list