commit: 0c1fb41624bb5bbeaf435ee3e70248d43c4f741d
parent 16b1952b45a0bdb7cf80be1d43990927db1205ff
Author: Michael Forney <mforney@mforney.org>
Date: Wed, 3 Jun 2020 17:45:47 -0700
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:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git 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