gcc: fix nvptx conflict (#22214)

In the past, we only had the binutils variant, which included the
bootstrapping flag. Now that we have a separate bootstrap variant, fix
the nvptx conflict accordingly.
This commit is contained in:
Michael Kuhn 2021-03-10 15:52:40 +01:00 committed by GitHub
parent df92f73c72
commit ed4a468941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
conflicts('languages=objc', when='+nvptx')
conflicts('languages=obj-c++', when='+nvptx')
# NVPTX build disables bootstrap
conflicts('+binutils', when='+nvptx')
conflicts('+bootstrap', when='+nvptx')
# Binutils can't build ld on macOS
conflicts('+binutils', when='platform=darwin')