From 7ab0207d4b0d11f00840d7fc29c1f4fa8d47c13b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 2 Aug 2021 19:59:44 +0200 Subject: [PATCH] avutil/Makefile: Apply CFLAGS for compilation Fixes "make tools/crypto_bench.o". Reviewed-by: James Almer Signed-off-by: Andreas Rheinhardt --- 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