mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Makefile.common: Don't hardcode -g
This commit is contained in:
parent
3528923507
commit
0ec95f7aea
2
Makefile
2
Makefile
@ -79,7 +79,7 @@ ifneq ($(findstring Win32,$(OS)),)
|
|||||||
LDFLAGS += -mwindows
|
LDFLAGS += -mwindows
|
||||||
endif
|
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)
|
APPEND_CFLAGS := $(CFLAGS)
|
||||||
CXXFLAGS += $(APPEND_CFLAGS) -std=c++11 -D__STDC_CONSTANT_MACROS
|
CXXFLAGS += $(APPEND_CFLAGS) -std=c++11 -D__STDC_CONSTANT_MACROS
|
||||||
|
@ -133,11 +133,8 @@ endif
|
|||||||
|
|
||||||
ifeq ($(findstring Haiku,$(OS)),)
|
ifeq ($(findstring Haiku,$(OS)),)
|
||||||
LIBS += -lm
|
LIBS += -lm
|
||||||
DEBUG_FLAG = -g
|
|
||||||
else
|
else
|
||||||
LIBS += -lroot -lnetwork
|
LIBS += -lroot -lnetwork
|
||||||
# stable and nightly haiku builds are stuck on gdb 6.x but we use gcc4
|
|
||||||
DEBUG_FLAG = -gdwarf-2
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user