[FFmpeg-cvslog] build: remove pointless condition

Ingo Brückl git at videolan.org
Tue Oct 29 22:42:33 CET 2013


ffmpeg | branch: master | Ingo Brückl <ib at wupperonline.de> | Thu Oct 24 02:18:19 2013 +0200| [8fbb0979da8e42c65a1c5de1279165f6abb2b153] | committer: Derek Buitenhuis

build: remove pointless condition

$(STRIP) always expands to something, because it is one of the commands
in the BRIEF list. This renders the condition pointless.

Signed-off-by: Ingo Brückl <ib at wupperonline.de>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8fbb0979da8e42c65a1c5de1279165f6abb2b153
---

 library.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library.mak b/library.mak
index 58f6360..7292c8a 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 $@ $<
-	-@ $(if $(STRIP), $(STRIP) -wN '..@*' $@)
+	-$(STRIP) -wN '..@*' $@
 
 LIBOBJS := $(OBJS) $(SUBDIR)%.h.o $(TESTOBJS)
 $(LIBOBJS) $(LIBOBJS:.o=.i):   CPPFLAGS += -DHAVE_AV_CONFIG_H



More information about the ffmpeg-cvslog mailing list