From 0ec95f7aeadcff680d3eac273da0b3a26cbcf838 Mon Sep 17 00:00:00 2001 From: orbea Date: Tue, 2 Jan 2018 09:20:13 -0800 Subject: [PATCH] Makefile.common: Don't hardcode -g --- Makefile | 2 +- Makefile.common | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 564a8f375e..21c8ca1aaf 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ ifneq ($(findstring Win32,$(OS)),) LDFLAGS += -mwindows endif -CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) $(DEBUG_FLAG) -I. -Ideps -Ideps/stb +CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) -I. -Ideps -Ideps/stb APPEND_CFLAGS := $(CFLAGS) CXXFLAGS += $(APPEND_CFLAGS) -std=c++11 -D__STDC_CONSTANT_MACROS diff --git a/Makefile.common b/Makefile.common index fb986df6a2..f45ea3c1cb 100644 --- a/Makefile.common +++ b/Makefile.common @@ -133,11 +133,8 @@ endif ifeq ($(findstring Haiku,$(OS)),) LIBS += -lm - DEBUG_FLAG = -g else LIBS += -lroot -lnetwork - # stable and nightly haiku builds are stuck on gdb 6.x but we use gcc4 - DEBUG_FLAG = -gdwarf-2 endif # Git