From 96f88522a49f0acd3f7d917eaede4bccf93b3e88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 25 Jun 2020 15:55:25 +0200 Subject: [PATCH] ghc: workaround for build w/ binutils-2.34 With binutils-2.34 the assembler prints an error message: Fatal error: duplicate .debug_line sections For now just disable debug until someone competent finds a better solution. Closes: #23036 --- srcpkgs/ghc/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/ghc/template b/srcpkgs/ghc/template index 12a1a8235db..e81da479cf0 100644 --- a/srcpkgs/ghc/template +++ b/srcpkgs/ghc/template @@ -17,6 +17,7 @@ distfiles="http://www.haskell.org/ghc/dist/${version%[!0-9]}/${pkgname}-${versio checksum=e0dcc0aaf3e234c5978f29e6df62947e97720ab404ec0158343df211c5480f89 patch_args="-Np1" nocross=yes # ask leah2 before wasting time trying to do that +nodebug=yes # Work around assembler error "Fatal error: duplicate .debug_line sections" _bindir="/usr/lib/${pkgname}-${version}/bin" nopie_files=" ${_bindir}/ghc