diff options
| author | Michael Forney <mforney@mforney.org> | 2020-12-03 14:40:07 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-12-03 21:11:43 -0800 |
| commit | 5b63e810643438b3f8a0de1faffb473a8f52872e (patch) | |
| tree | da49a8c72b91f676b5adf23ed533ef5cd3fd713e | |
| parent | fa6f5e88ada3f53f9eb64f80e0cd6547a0133bea (diff) | |
Switch back to -static-pie by default
Now that the toolchains at musl.cc support -static-pie, enable it
by default.
| -rw-r--r-- | config.def.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
