Use DWARFv4 for IDA debugging compatibility

This commit is contained in:
Michael Scire 2021-07-19 22:30:28 -07:00
parent bee27ba607
commit 583649c7eb

View File

@ -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