diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-03 17:45:47 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-03 17:48:48 -0700 |
| commit | 0c1fb41624bb5bbeaf435ee3e70248d43c4f741d (patch) | |
| tree | 33ccb741fec01becafe0ff0ffc938d4365801476 | |
| parent | 16b1952b45a0bdb7cf80be1d43990927db1205ff (diff) | |
Disable static PIE in default config for now
musl.cc toolchains build libc.a without -fPIC, so this makes them
usable without any changes to the default configuration.
| -rw-r--r-- | config.def.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config.def.lua b/config.def.lua index cb3cb3c2..d49834e0 100644 --- a/config.def.lua +++ b/config.def.lua @@ -18,9 +18,8 @@ return { -- target toolchain and flags target={ platform='x86_64-linux-musl', - cflags='-Os -pipe -fpie', - ldflags='-s -static-pie', - pie=true + cflags='-Os -pipe', + ldflags='-s', }, -- host toolchain and flags |
