This patch removes a redundant "gfx900/gfx906" multilib that was added
by accident. We need those options independently, but not together.
Andrew
amdgcn: Remove redundant multilib
2020-02-05 Andrew Stubbs <a...@codesourcery.com>
gcc/
* config/gcn/t-gcn-hsa (MULTILIB_OPTIONS): Use / not space.
diff --git a/gcc/config/gcn/t-gcn-hsa b/gcc/config/gcn/t-gcn-hsa
index 9bd16abbc02..af203c5cf05 100644
--- a/gcc/config/gcn/t-gcn-hsa
+++ b/gcc/config/gcn/t-gcn-hsa
@@ -42,7 +42,7 @@ ALL_HOST_OBJS += gcn-run.o
gcn-run$(exeext): gcn-run.o
+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $< -ldl
-MULTILIB_OPTIONS = march=gfx900 march=gfx906
+MULTILIB_OPTIONS = march=gfx900/march=gfx906
MULTILIB_DIRNAMES = gfx900 gfx906
PASSES_EXTRA += $(srcdir)/config/gcn/gcn-passes.def