logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 84c464c9f13c0bb865ca16e141c268df023512a2
parent 064fe2fb7480bd316a6be11b5b803bcc5f183677
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 29 Mar 2020 13:16:06 -0700

Use mainline gcc supported -static-pie flag

Using -static and -pie together is a musl-cross-make specific patch.
Instead, use -static-pie, which is what upstream gcc decided on.

Diffstat:

Mconfig.def.lua2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.def.lua b/config.def.lua @@ -16,7 +16,7 @@ return { target={ platform='x86_64-linux-musl', cflags='-O2 -pipe -fpie', - ldflags='-s -static -pie', + ldflags='-s -static-pie', pie=true },