Disable debug while build
authorDmitriy Tkachenko <dtkachenko@mirantis.com>
Fri, 6 Sep 2013 14:57:05 +0000 (18:57 +0400)
committerDmitriy Tkachenko <dtkachenko@mirantis.com>
Fri, 6 Sep 2013 14:57:05 +0000 (18:57 +0400)
kernel.spec

index db8ba64ca51d767407e23bd05643ff47387112cb..f239a8c0b8713f215a7b8cda05dda89a252ca9a4 100644 (file)
@@ -94,7 +94,7 @@ Summary: The Linux kernel
 # kernel-kdump
 %define with_kdump     %{?_without_kdump:     0} %{?!_without_kdump:     1}
 # kernel-debug
-%define with_debug     %{?_without_debug:     0} %{?!_without_debug:     1}
+%define with_debug     %{?_without_debug:     0} %{?!_without_debug:     0}
 # kernel-doc
 %define with_doc       %{?_without_doc:       0} %{?!_without_doc:       1}
 # kernel-headers
@@ -104,7 +104,7 @@ Summary: The Linux kernel
 # perf noarch subpkg
 %define with_perf      %{?_without_perf:      0} %{?!_without_perf:      1}
 # kernel-debuginfo
-%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
+%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 0}
 # kernel-bootwrapper (for creating zImages from kernel + initrd)
 %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}
 # Want to build a the vsdo directories installed
@@ -143,7 +143,7 @@ Summary: The Linux kernel
 # Set debugbuildsenabled to 1 for production (build separate debug kernels)
 #  and 0 for rawhide (all kernels are debug kernels).
 # See also 'make debug' and 'make release'.
-%define debugbuildsenabled 1
+%define debugbuildsenabled 0
 
 # pkg_release is what we'll fill in for the rpm Release: field
 %if 0%{?released_kernel}