From 0c1fb41624bb5bbeaf435ee3e70248d43c4f741d Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 3 Jun 2020 17:45:47 -0700 Subject: 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. --- config.def.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'config.def.lua') 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 -- cgit v1.2.3