diff options
| author | Andreas Källberg <anka.213@gmail.com> | 2022-03-05 11:20:39 +0800 |
|---|---|---|
| committer | Andreas Källberg <anka.213@gmail.com> | 2022-03-05 12:25:46 +0800 |
| commit | 4caf6d684e1c236600563b4a9f3ed698111a05f6 (patch) | |
| tree | 5ebb81231a86c5c9acadccf2db39bea3af955ae5 | |
| parent | bfd8f9c16db01da0b0ed31186f4388ccebde56ff (diff) | |
Another attempt at fixing linker errors
| -rw-r--r-- | .github/workflows/build-all-versions.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build-all-versions.yml b/.github/workflows/build-all-versions.yml index 45b14ee77..2217388db 100644 --- a/.github/workflows/build-all-versions.yml +++ b/.github/workflows/build-all-versions.yml @@ -80,6 +80,11 @@ jobs: stack-version: 'latest' enable-stack: true + + # Fix linker errrors on ghc-7.10.3 for ubuntu (see https://github.com/commercialhaskell/stack/blob/255cd830627870cdef34b5e54d670ef07882523e/doc/faq.md#i-get-strange-ld-errors-about-recompiling-with--fpic) + - run: sed -i.bak 's/"C compiler link flags", "/&-no-pie /' /home/runner/.ghcup/ghc/7.10.3/lib/ghc-7.10.3/settings + if: matrix.ghc == '7.10.3' + - uses: actions/cache@v1 name: Cache ~/.stack with: |
