From 5b63e810643438b3f8a0de1faffb473a8f52872e Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 3 Dec 2020 14:40:07 -0800 Subject: Switch back to -static-pie by default Now that the toolchains at musl.cc support -static-pie, enable it by default. --- config.def.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.def.lua b/config.def.lua index 20e21a72..f2305e25 100644 --- a/config.def.lua +++ b/config.def.lua @@ -19,7 +19,8 @@ return { target={ platform='x86_64-linux-musl', cflags='-Os -pipe', - ldflags='-s -static', + ldflags='-s -static-pie', + pie=true, }, -- host toolchain and flags -- cgit v1.2.3