mirror of https://github.com/mpv-player/mpv
Add -g to CFLAGS, not to LDFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26567 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
944489b835
commit
a3cef8cd25
|
@ -37,8 +37,9 @@ CFLAGS+=-fno-omit-frame-pointer $(CFLAG_NO_OMIT_LEAF_FRAME_POINTER)
|
|||
win32.o: CFLAGS += $(CFLAG_STACKREALIGN)
|
||||
|
||||
TEST_OBJS = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/mmap_anon.o ../osdep/$(GETCH) ../osdep/$(TIMER)
|
||||
TEST_LDFLAGS = -ltermcap -lm -g
|
||||
TEST_LDFLAGS = -ltermcap -lm
|
||||
|
||||
qtx/list qtx/qtxload: CFLAGS += -g
|
||||
qtx/%: qtx/%.c $(TEST_OBJS)
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue