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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Aug 4 04:30:59 EEST 2021


Fixes "make tools/crypto_bench.o".

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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
-- 
2.30.2



More information about the ffmpeg-devel mailing list