From 484c4d8950d6c2292a2be8fc6d580ea1a4a7559c Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Thu, 30 Jul 2020 10:45:53 -0400
Subject: [PATCH] Use ld.gold to link on deb10

Otherwise we use ld.lld, which fails with

  ld.lld: error: -r and --export-dynamic may not be used together
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b87c73f9416..7281ac6a2cfb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -655,6 +655,7 @@ validate-x86_64-linux-deb9-dwarf:
   variables:
     TEST_ENV: "x86_64-linux-deb10"
     BIN_DIST_PREP_TAR_COMP: "./ghc-x86_64-deb10-linux.tar.xz"
+    LD: "ld.gold"
   cache:
     key: linux-x86_64-deb10
 
-- 
GitLab