mirror of
https://github.com/frida/releng.git
synced 2026-11-07 09:36:02 -10:00
Link the bare soft-float flavor no-pie
Everything in it is built -fno-pic, so a distribution whose driver defaults to PIE rejects the resulting R_386_32 relocations outright. Only 32-bit x86 minds, its addressing having nowhere else to go. Straight to the linker: clang swallows the driver spelling when it is gcc doing the link.
This commit is contained in:
1 parent
96822d2d1f
commit
0ad9eef364
1 file changed
+1
@@ -242,6 +242,7 @@ def init_machine_config(machine: MachineSpec,
|
||||
# and the one that matches this ABI is the one in the sysroot.
|
||||
linker_flags += [
|
||||
"-fuse-ld=lld",
|
||||
"-Wl,-no-pie",
|
||||
"-nostdlib",
|
||||
"-lc",
|
||||
"-lclang_rt.builtins",
|
||||
|
||||
Reference in new issue
Block a user