[FFmpeg-cvslog] build: remove pointless condition

Ingo Brückl git at videolan.org
Thu Oct 24 11:54:37 CEST 2013


ffmpeg | branch: master | Ingo Brückl <ib at wupperonline.de> | Thu Oct 24 02:18:19 2013 +0200| [94d707af3c8d2eb7dde7048929b056a451daabcb] | 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=94d707af3c8d2eb7dde7048929b056a451daabcb
---

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

diff --git a/library.mak b/library.mak
index 6d9b989..e48aba1 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=.s) $(LIBOBJS:.o=.i):   CPPFLAGS += -DHAVE_AV_CONFIG_H



More information about the ffmpeg-cvslog mailing list