Merge pull request #9912 from filecoin-project/revert-9868-id/fix-snapcraft

Revert "_build_ Set noexecstack on snapcraft builds"
This commit is contained in:
Geoff Stuart 2023-01-03 10:36:48 -05:00 committed by GitHub
commit 19a88e2735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ parts:
- libhwloc15
- ocl-icd-libopencl1
override-build: |
LDFLAGS="-z noexecstack" make lotus lotus-miner lotus-worker
LDFLAGS="" make lotus lotus-miner lotus-worker
cp lotus lotus-miner lotus-worker $SNAPCRAFT_PART_INSTALL
cp scripts/snap-lotus-entrypoint.sh $SNAPCRAFT_PART_INSTALL