summaryrefslogtreecommitdiff
path: root/library.mak
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2013-09-12 18:06:23 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-07 06:20:15 -0400
commite52567c2954f627d420b30f75f71af2f2e4afe80 (patch)
tree83edab8449b05a288229c18f8c534d2c40defea2 /library.mak
parent25cb0c1a1e66edacc1667acf6818f524c0997f10 (diff)
downloadffmpeg-e52567c2954f627d420b30f75f71af2f2e4afe80.tar.gz
build: Strip spurious labels
The implementation of 25cb0c1a involves lots of spurious labels. The effect of keeping those labels around is making debugging harder. Those labels are meaningless, and complicate the disassembly. Also, gdb can't tell the difference between them and function entry points. This new strip command is irrelevant to any usage of Libav that would have used the old fully stripped version, because the old one was for non-debug use. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'library.mak')
-rw-r--r--library.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/library.mak b/library.mak
index 88d33dccfc..58f6360cd7 100644
--- a/library.mak
+++ b/library.mak
@@ -25,6 +25,7 @@ $(SUBDIR)%-test.i: $(SUBDIR)%.c
$(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm
$(DEPYASM) $(YASMFLAGS) -I $(<D)/ -M -o $@ $< > $(@:.o=.d)
$(YASM) $(YASMFLAGS) -I $(<D)/ -o $@ $<
+ -@ $(if $(STRIP), $(STRIP) -wN '..@*' $@)
LIBOBJS := $(OBJS) $(SUBDIR)%.h.o $(TESTOBJS)
$(LIBOBJS) $(LIBOBJS:.o=.i): CPPFLAGS += -DHAVE_AV_CONFIG_H