[SCM] libav/experimental: Add -g to LDFLAGS instead of adding it to the command line.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:50:37 UTC 2013
The following commit has been merged in the experimental branch:
commit ca373eb7e4b8941f7999d12cec636be80dcca49f
Author: Diego Biurrun <diego at biurrun.de>
Date: Fri Sep 8 17:18:46 2006 +0000
Add -g to LDFLAGS instead of adding it to the command line.
Originally committed as revision 6198 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/vhook/Makefile b/vhook/Makefile
index 3bb5561..255a2c6 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
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list