Disable -no-pie link flag.

This commit is contained in:
Ali Mashtizadeh 2023-10-23 21:53:47 -04:00
parent 51b61e3316
commit a13548602c

View File

@ -54,7 +54,7 @@ env.Append(CFLAGS = [ "-Wshadow", "-Wno-typedef-redefinition" ])
env.Append(CPPFLAGS = [ "-target", "x86_64-freebsd-freebsd-elf", env.Append(CPPFLAGS = [ "-target", "x86_64-freebsd-freebsd-elf",
"-fno-builtin", "-fno-stack-protector", "-fno-builtin", "-fno-stack-protector",
"-fno-optimize-sibling-calls" ]) "-fno-optimize-sibling-calls" ])
env.Append(LINKFLAGS = [ "-no-pie" ]) #env.Append(LINKFLAGS = [ "-no-pie" ])
if (env["STRICT"] == "1"): if (env["STRICT"] == "1"):
env.Append(CPPFLAGS = [ "-Wformat=2", "-Wmissing-format-attribute", env.Append(CPPFLAGS = [ "-Wformat=2", "-Wmissing-format-attribute",