From ca373eb7e4b8941f7999d12cec636be80dcca49f Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 8 Sep 2006 17:18:46 +0000 Subject: [PATCH] Add -g to LDFLAGS instead of adding it to the command line. Originally committed as revision 6198 to svn://svn.ffmpeg.org/ffmpeg/trunk --- vhook/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vhook/Makefile b/vhook/Makefile index 3bb5561066..255a2c6fed 100644 --- a/vhook/Makefile +++ b/vhook/Makefile @@ -4,6 +4,7 @@ VPATH=$(SRC_PATH)/vhook CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libavcodec \ -I$(SRC_PATH)/libavformat $(VHOOKCFLAGS) -DHAVE_AV_CONFIG_H +LDFLAGS+= -g HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF) ALLHOOKS=$(HOOKS) imlib2$(SLIBSUF) drawtext$(SLIBSUF) @@ -35,7 +36,7 @@ uninstall: -rmdir "$(shlibdir)/vhook/" %$(SLIBSUF): %.o - $(CC) $(LDFLAGS) -g -o $@ $(VHOOKSHFLAGS) $< $(LIBS_$@) + $(CC) $(LDFLAGS) -o $@ $(VHOOKSHFLAGS) $< $(LIBS_$@) clean: rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll -- GitLab