add OPT_LDFLAGS and pass -g when linking

This commit is contained in:
Michael Davidsaver
2022-07-24 11:13:46 -07:00
parent 6feaaebd75
commit f086be93a9
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ OPT_CXXFLAGS_NO = -g
CODE_LDFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
CODE_LDFLAGS += $(ASAN_LDFLAGS_$(ENABLE_ASAN))
OPT_LDFLAGS_NO = -g
PIPE_CFLAGS_YES_YES = -pipe
PIPE_CFLAGS = $(PIPE_CFLAGS_$(GCC_PIPE)_$(GNU))