mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
switch.specs: ensure main() is referenced first (fix devkitPro/pacman-packages#237)
This commit is contained in:
parent
982aef9ea5
commit
3c9a623b24
@ -4,5 +4,5 @@
|
|||||||
%(old_link) -T %:getenv(DEVKITPRO /libnx/switch.ld) -pie --no-dynamic-linker --spare-dynamic-tags=0 --gc-sections -z text -z nodynamic-undefined-weak --build-id=sha1 --nx-module-name
|
%(old_link) -T %:getenv(DEVKITPRO /libnx/switch.ld) -pie --no-dynamic-linker --spare-dynamic-tags=0 --gc-sections -z text -z nodynamic-undefined-weak --build-id=sha1 --nx-module-name
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
crti%O%s crtbegin%O%s
|
crti%O%s crtbegin%O%s --require-defined=main
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user