mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Link with -pie (position independent executable)
This commit is contained in:
parent
e31c140ca8
commit
fe79be4a1d
@ -1,7 +1,7 @@
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link) -T switch.ld%s -d --gc-sections
|
||||
%(old_link) -T switch.ld%s -pie --gc-sections
|
||||
|
||||
*startfile:
|
||||
switch_crt0%O%s crti%O%s crtbegin%O%s
|
||||
|
Loading…
Reference in New Issue
Block a user