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:
apple.com/xcode/clt: '*'
runtime:
env:
linux/x86-64:
LDFLAGS: $LDFLAGS -pie
CFLAGS: $CFLAGS -fPIC
CXXFLAGS: $CXXFLAGS -fPIC
build:
working-directory:
${{prefix}}/bin