From a13548602c6d7240de5f3f1ac85a2431c05b2127 Mon Sep 17 00:00:00 2001 From: Ali Mashtizadeh Date: Mon, 23 Oct 2023 21:53:47 -0400 Subject: [PATCH] Disable -no-pie link flag. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 592035d..25553da 100644 --- a/SConstruct +++ b/SConstruct @@ -54,7 +54,7 @@ env.Append(CFLAGS = [ "-Wshadow", "-Wno-typedef-redefinition" ]) env.Append(CPPFLAGS = [ "-target", "x86_64-freebsd-freebsd-elf", "-fno-builtin", "-fno-stack-protector", "-fno-optimize-sibling-calls" ]) -env.Append(LINKFLAGS = [ "-no-pie" ]) +#env.Append(LINKFLAGS = [ "-no-pie" ]) if (env["STRICT"] == "1"): env.Append(CPPFLAGS = [ "-Wformat=2", "-Wmissing-format-attribute",