summaryrefslogtreecommitdiff
path: root/library.mak
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-28 21:52:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-28 21:52:46 +0100
commite975c147e18010a9f96f56b21d0cd0f026eaae0e (patch)
tree5f3a2068c874d1a12811349a9ca9aee8d2213b23 /library.mak
parent191454f26e5a2f5026fef9a25df6d61c2a06615c (diff)
downloadffmpeg-e975c147e18010a9f96f56b21d0cd0f026eaae0e.tar.gz
library.mak: only run asm strip if ASMSTRIP flags are set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'library.mak')
-rw-r--r--library.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/library.mak b/library.mak
index 36c883d034..737f5bb6cd 100644
--- a/library.mak
+++ b/library.mak
@@ -25,7 +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 $@ $<
- -$(STRIP) $(ASMSTRIPFLAGS) $@
+ -$(if $(ASMSTRIPFLAGS), $(STRIP) $(ASMSTRIPFLAGS) $@)
LIBOBJS := $(OBJS) $(SUBDIR)%.h.o $(TESTOBJS)
$(LIBOBJS) $(LIBOBJS:.o=.s) $(LIBOBJS:.o=.i): CPPFLAGS += -DHAVE_AV_CONFIG_H