all repos — mgba @ d839098caef428a564aa83fe8cfbceadd8339da7

mGBA Game Boy Advance Emulator

Switch: Update arch flags
Vicki Pfau vi@endrift.com
Sun, 26 May 2019 11:30:42 -0700
commit

d839098caef428a564aa83fe8cfbceadd8339da7

parent

19c4e565d1c5c12b72984338a05b0be70dc6df26

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/switch/CMakeToolchain.txtsrc/platform/switch/CMakeToolchain.txt

@@ -7,7 +7,7 @@ set(LIBNX ${DEVKITPRO}/libnx)

endif() set(cross_prefix aarch64-none-elf-) -set(arch_flags "-mtune=cortex-a57 -ffunction-sections -march=armv8-a -mtp=soft -fPIC -ftls-model=local-exec") +set(arch_flags "-mtune=cortex-a57 -ffunction-sections -march=armv8-a+crc+crypto -mtp=soft -fPIE") set(inc_flags "-I${LIBNX}/include ${arch_flags}") set(link_flags "-L${LIBNX}/lib -lnx -specs=${LIBNX}/switch.specs ${arch_flags}")