add PIC to haskell (#5164)

* add PIC to haskell

hopefully?

* wip
This commit is contained in:
Jacob Heider 2024-02-09 22:54:01 -05:00 committed by GitHub
parent 3f8ee35c20
commit 1d9487778b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,6 +53,17 @@ build:
linux:
gnu.org/make: '*'
script:
# try to force PIC binaries
- run: install -D $PROP {{prefix}}/.ghcup/config.yaml
prop: |
platform-override:
arch: A_64
platform:
contents: Ubuntu
tag: Linux
version: '18.04'
if: linux/x86-64
- curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
- PATH={{prefix}}/.ghcup/bin:$PATH
- ghcup install ghc {{version}}