Skip to content

Commit

Permalink
Added -gdwarf-4 to compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayBrahmakshatriya committed Dec 19, 2022
1 parent 6207197 commit c7a88bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c7a88bf

Please sign in to comment.