[gnome-sdk-images] Disable debug info in webkit
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sdk-images] Disable debug info in webkit
- Date: Wed, 25 Mar 2015 14:46:16 +0000 (UTC)
commit f066488843939d6e50c30cfeeaeffd90caac8db7
Author: Alexander Larsson <alexl redhat com>
Date: Wed Mar 25 15:44:02 2015 +0100
Disable debug info in webkit
This is just way to large for now.
packages/SPECS/webkitgtk4.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/packages/SPECS/webkitgtk4.spec b/packages/SPECS/webkitgtk4.spec
index 3d699c9..64bf510 100644
--- a/packages/SPECS/webkitgtk4.spec
+++ b/packages/SPECS/webkitgtk4.spec
@@ -1,3 +1,6 @@
+# Disable debug info by default.
+%define with_webkit_debug 0
+
## NOTE: Lots of files in various subdirectories have the same name (such as
## "LICENSE") so this short macro allows us to distinguish them by using their
## directory names (from the source tree) as prefixes for the files.
@@ -54,8 +57,13 @@ files for developing applications that use %{name}.
%build
+%if %{with_webkit_debug}
# Decrease debuginfo verbosity to reduce memory consumption even more
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%else
+# Disable -g to save disk space during build
+%global optflags %(echo %{optflags} | sed 's/-g / /')
+%endif
# Disable ld.gold on s390 as it does not have it.
# Also for aarch64 as the support is in upstream, but not packaged in Fedora.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]