commit: 5b63e810643438b3f8a0de1faffb473a8f52872e
parent fa6f5e88ada3f53f9eb64f80e0cd6547a0133bea
Author: Michael Forney <mforney@mforney.org>
Date: Thu, 3 Dec 2020 14:40:07 -0800
Switch back to -static-pie by default
Now that the toolchains at musl.cc support -static-pie, enable it
by default.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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