Merge pull request #9868 from filecoin-project/id/fix-snapcraft
_build_ Set noexecstack on snapcraft builds
This commit is contained in:
commit
1dcae9aafd
@ -36,7 +36,7 @@ parts:
|
|||||||
- libhwloc15
|
- libhwloc15
|
||||||
- ocl-icd-libopencl1
|
- ocl-icd-libopencl1
|
||||||
override-build: |
|
override-build: |
|
||||||
LDFLAGS="" make lotus lotus-miner lotus-worker
|
LDFLAGS="-z noexecstack" make lotus lotus-miner lotus-worker
|
||||||
cp lotus lotus-miner lotus-worker $SNAPCRAFT_PART_INSTALL
|
cp lotus lotus-miner lotus-worker $SNAPCRAFT_PART_INSTALL
|
||||||
cp scripts/snap-lotus-entrypoint.sh $SNAPCRAFT_PART_INSTALL
|
cp scripts/snap-lotus-entrypoint.sh $SNAPCRAFT_PART_INSTALL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user