Skip to content

Commit 940129a

Browse files
authored
Update CMAKE_ASM_FLAGS to match devkitPro Makefiles
1 parent 2a590f4 commit 940129a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DevkitA64Libnx.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ add_definitions(-DSWITCH -D__SWITCH__)
8080
set(ARCH "-march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE")
8181
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -O2 -ffunction-sections ${ARCH}" CACHE STRING "C flags")
8282
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_C_FLAGS} -fno-rtti -fno-exceptions" CACHE STRING "C++ flags")
83-
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -x assembler-with-cpp ${ARCH}" CACHE STRING "ASM flags")
83+
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -g ${ARCH}" CACHE STRING "ASM flags")
8484
# These flags are purposefully empty to use the default flags when invoking the
8585
# devkitA64 linker. Otherwise the linker may complain about duplicate flags.
8686
set(CMAKE_EXE_LINKER_FLAGS "" CACHE STRING "Executable linker flags")

0 commit comments

Comments
 (0)