aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-28 21:52:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-14 01:14:43 +0100
commit45900618ae4d7216f531aea9c906ab614010fa78 (patch)
treecc5da92cfaa59038fd43b9a51824cb0482b26fdf
parent16e49d85b6bb01291f2149631517178af10b2332 (diff)
downloadffmpeg-45900618ae4d7216f531aea9c906ab614010fa78.tar.gz
library.mak: only run asm strip if ASMSTRIP flags are set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e975c147e18010a9f96f56b21d0cd0f026eaae0e) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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