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

James Almer jamrial at gmail.com
Wed Aug 4 04:42:53 EEST 2021


On 8/3/2021 10:30 PM, Andreas Rheinhardt wrote:
> Fixes "make tools/crypto_bench.o".

Can confirm it does fix it, so should be ok.

> 
> 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
> 



More information about the ffmpeg-devel mailing list