From d839098caef428a564aa83fe8cfbceadd8339da7 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 26 May 2019 11:30:42 -0700 Subject: [PATCH] Switch: Update arch flags --- src/platform/switch/CMakeToolchain.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/switch/CMakeToolchain.txt b/src/platform/switch/CMakeToolchain.txt index 38c4ff943..3cdee0ddb 100644 --- a/src/platform/switch/CMakeToolchain.txt +++ b/src/platform/switch/CMakeToolchain.txt @@ -7,7 +7,7 @@ else() 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}")