From a33ef3fd514ce1cf677cb0862231529e2f3b9d6a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 13 Jan 2023 22:26:47 +0800 Subject: [PATCH] do not disable debuginfo avoids build-id conflicts --- ghc.spec | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ghc.spec b/ghc.spec index 906af41..67dcc31 100644 --- a/ghc.spec +++ b/ghc.spec @@ -1,4 +1,4 @@ -# turn off for quick build to disable prof, docs, debuginfo +# turn off for quick build to disable prof, docs # This must be enabled 1 for all koji production builds %bcond prodbuild 1 @@ -11,13 +11,6 @@ # build hadrian for production builds: %bcond build_hadrian 1 -# enable debuginfo for production builds -%bcond ghc_debuginfo 1 - -%if %{without ghc_debuginfo} -%undefine _enable_debug_packages -%endif - %global ghc_major 9.2 # to handle RCs @@ -536,10 +529,8 @@ export LANG=C.utf8 %endif %if %{with build_hadrian} -%if %{with ghc_debuginfo} # do not disable debuginfo with ghc_bin_build %global ghc_debuginfo 1 -%endif ( cd hadrian %ghc_bin_build