mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
use PIC/PIE on linux-x86-64
This commit is contained in:
parent
e59e13ca08
commit
683bc4a924
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ dependencies:
|
||||||
darwin:
|
darwin:
|
||||||
apple.com/xcode/clt: '*'
|
apple.com/xcode/clt: '*'
|
||||||
|
|
||||||
|
runtime:
|
||||||
|
env:
|
||||||
|
linux/x86-64:
|
||||||
|
LDFLAGS: $LDFLAGS -pie
|
||||||
|
CFLAGS: $CFLAGS -fPIC
|
||||||
|
CXXFLAGS: $CXXFLAGS -fPIC
|
||||||
|
|
||||||
build:
|
build:
|
||||||
working-directory:
|
working-directory:
|
||||||
${{prefix}}/bin
|
${{prefix}}/bin
|
||||||
|
|
Loading…
Reference in a new issue