use PIC/PIE on linux-x86-64

This commit is contained in:
Jacob Heider 2023-03-04 05:51:13 -05:00 committed by Max Howell
parent e59e13ca08
commit 683bc4a924

View file

@ -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