* fix(zlib)

boost complaining about -fPIC:

https://github.com/pkgxdev/pantry/actions/runs/7226847979/job/19693299131

* don't include newlines
This commit is contained in:
Jacob Heider 2023-12-15 17:05:44 -05:00 committed by GitHub
parent bb4c3edd9e
commit 1614e01c30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -29,7 +29,7 @@ jobs:
RESULT="$RESULT ${y//$'\n'/}" RESULT="$RESULT ${y//$'\n'/}"
done done
if [ -n "$RESULT" ]; then if [ -n "$RESULT" ]; then
RESULT="$(echo $RESULT | jq -R -s -c 'split(" ")')" RESULT="$(echo -n $RESULT | jq -R -s -c 'split(" ")')"
else else
RESULT='["zlib.net"]' RESULT='["zlib.net"]'
fi fi
@ -50,7 +50,7 @@ jobs:
name: ² name: ²
- os: ["self-hosted", "linux", "ARM64"] - os: ["self-hosted", "linux", "ARM64"]
name: Lnx·ARM64 name: Lnx·ARM64
- os: {group: "linux-x86-64"} - os: { group: "linux-x86-64" }
container: debian:buster-slim container: debian:buster-slim
name: Lnx·x64 name: Lnx·x64
runs-on: ${{ matrix.platform.os }} runs-on: ${{ matrix.platform.os }}

View file

@ -9,6 +9,9 @@ build:
script: | script: |
./configure --prefix="{{prefix}}" ./configure --prefix="{{prefix}}"
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
env:
linux/aarch64:
CFLAGS: '$CFLAGS -fPIC'
test: test:
script: | script: |