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:
diego 2008-04-28 12:39:15 +00:00
parent 944489b835
commit a3cef8cd25
1 changed files with 2 additions and 1 deletions

View File

@ -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)