mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(haskell)
let's get it using clang/ld.lld if possible, as well as enforcing `-fPIC` and `-pie`.
This commit is contained in:
parent
e89da6236b
commit
e2aae0b694
|
@ -42,7 +42,7 @@ dependencies:
|
|||
sourceware.org/libffi: 3
|
||||
linux:
|
||||
github.com/numactl/numactl: ^2
|
||||
gnu.org/gcc: '*'
|
||||
llvm.org: '*'
|
||||
|
||||
warnings:
|
||||
- vendored
|
||||
|
@ -68,12 +68,18 @@ build:
|
|||
- run: find . -type f -name \*.conf -print0 | xargs -0 sed -i -e 's|{{prefix}}|${pkgroot}/../../../../..|g' -e 's/\+brewing//g'
|
||||
working-directory: ${{prefix}}/ghc/{{version}}/lib/ghc-{{version}}/package.conf.d
|
||||
if: <9.4
|
||||
|
||||
- run: cat settings
|
||||
working-directory: ${{prefix}}/ghc/{{version}}/lib/ghc-{{version}}/lib
|
||||
env:
|
||||
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
||||
BOOTSTRAP_HASKELL_NO_UPGRADE: 1
|
||||
BOOTSTRAP_HASKELL_MINIMAL: 1
|
||||
GHCUP_INSTALL_BASE_PREFIX: ${{prefix}}
|
||||
GHCUP_SKIP_UPDATE_CHECK: 1
|
||||
linux:
|
||||
CC: clang
|
||||
LD: ld.lld
|
||||
|
||||
test:
|
||||
script:
|
||||
|
|
Loading…
Reference in a new issue