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
This commit is contained in:
Jürgen Buchmüller 2020-06-25 15:55:25 +02:00
parent cd99b46f45
commit 96f88522a4

View file

@ -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