diff mbox series

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

Message ID AM7PR03MB666053D5F174EB8B408B55378FF19@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 7ab0207d4b0d11f00840d7fc29c1f4fa8d47c13b
Headers show
Series [FFmpeg-devel] avutil/Makefile: Apply CFLAGS for compilation | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Aug. 4, 2021, 1:30 a.m. UTC
Fixes "make tools/crypto_bench.o".

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavutil/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

James Almer Aug. 4, 2021, 1:42 a.m. UTC | #1
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@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
>
diff mbox series

Patch

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