summaryrefslogtreecommitdiff
path: root/config.def.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-03 17:45:47 -0700
committerMichael Forney <mforney@mforney.org>2020-06-03 17:48:48 -0700
commit0c1fb41624bb5bbeaf435ee3e70248d43c4f741d (patch)
tree33ccb741fec01becafe0ff0ffc938d4365801476 /config.def.lua
parent16b1952b45a0bdb7cf80be1d43990927db1205ff (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.
Diffstat (limited to 'config.def.lua')
-rw-r--r--config.def.lua5
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