From c7a88bf6efd72f1b9b182c0cfec6359abeee42eb Mon Sep 17 00:00:00 2001 From: Ajay Brahmakshatriya Date: Mon, 19 Dec 2022 14:35:37 -0500 Subject: [PATCH] Added -gdwarf-4 to compiler flags --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e4e8f3d..53f0d63 100644 --- a/Makefile +++ b/Makefile @@ -69,15 +69,15 @@ INCLUDE_FLAGS= ifeq ($(DEBUG),1) -CFLAGS+=-g +CFLAGS+=-g -gdwarf-4 ifneq ($(D2X_DEBUGGING),1) -LINKER_FLAGS+=-l$(LIBRARY_NAME) -g +LINKER_FLAGS+=-l$(LIBRARY_NAME) -g -gdwarf-4 else -LINKER_FLAGS+=-Wl,--start-group -l$(LIBRARY_NAME) -ld2x -Wl,--end-group -g +LINKER_FLAGS+=-Wl,--start-group -l$(LIBRARY_NAME) -ld2x -Wl,--end-group -g -gdwarf-4 endif else CFLAGS_INTERNAL+=-O3 -LINKER_FLAGS+=-l$(LIBRARY_NAME) -g +LINKER_FLAGS+=-l$(LIBRARY_NAME) -g -gdwarf-4 endif ifeq ($(TRACER_USE_LIBUNWIND),1)