[FFmpeg-cvslog] avutil/Makefile: Apply CFLAGS for compilation

Andreas Rheinhardt git at videolan.org
Wed Aug 4 14:04:02 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Aug  2 19:59:44 2021 +0200| [7ab0207d4b0d11f00840d7fc29c1f4fa8d47c13b] | committer: Andreas Rheinhardt

avutil/Makefile: Apply CFLAGS for compilation

Fixes "make tools/crypto_bench.o".

Reviewed-by: James Almer <jamrial at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 libavutil/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/Makefile b/libavutil/Makefile
index 18dc5f22d9..410ac636f7 100644
--- a/libavutil/Makefile
+++ b/libavutil/Makefile
@@ -262,6 +262,6 @@ TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
 TOOLS = crypto_bench ffhash ffeval ffescape
 
 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
-tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
+tools/crypto_bench.o: CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
 
 $(SUBDIR)tests/lzo$(EXESUF): ELIBS = -llzo2



More information about the ffmpeg-cvslog mailing list