From 583649c7ebc9d10b6523f6a4647ea6319ba52bfe Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 19 Jul 2021 22:30:28 -0700 Subject: [PATCH] Use DWARFv4 for IDA debugging compatibility --- nx/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nx/Makefile b/nx/Makefile index 08dbee67..e685680a 100644 --- a/nx/Makefile +++ b/nx/Makefile @@ -36,6 +36,7 @@ ARCH := -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIC -ftls-model= CFLAGS := -g -Wall -Werror \ -ffunction-sections \ -fdata-sections \ + -gdwarf-4 \ $(ARCH) \ $(BUILD_CFLAGS) @@ -43,7 +44,7 @@ CFLAGS += $(INCLUDE) -D__SWITCH__ -DLIBNX_NO_DEPRECATION CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11 -ASFLAGS := -g $(ARCH) +ASFLAGS := -g -gdwarf-4 $(ARCH) #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing