llvm: Don't depend on binutils for ghcjs platform

This dependency was introduced by unconditionally enabled
enableGoldPlugin option, which was enabled only if libbfd explicitly
supports plugin api prior to llvm-16. In llvm-17+ it was enabled
unconditionally (unless overriden explicitly), which introduces
dependency on binutils for target platform and breaks build for
platforms that are not supported by binutils (such as ghcjs).
This commit is contained in:
Slava Gorbunov 2024-04-08 14:25:20 +03:00 committed by sternenseemann
parent 5736504af1
commit e5064b957a
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
, python3
, python3Packages
, libffi
, enableGoldPlugin ? true
, enableGoldPlugin ? libbfd.hasPluginAPI
, libbfd
, libpfm
, libxml2

View File

@ -8,7 +8,7 @@
, python3
, python3Packages
, libffi
, enableGoldPlugin ? true
, enableGoldPlugin ? libbfd.hasPluginAPI
, libbfd
, libpfm
, libxml2

View File

@ -8,7 +8,7 @@
, python3
, python3Packages
, libffi
, enableGoldPlugin ? true
, enableGoldPlugin ? libbfd.hasPluginAPI
, libbfd
, libpfm
, libxml2