From 976e18fdef8bcd0602b6b94bb157a82a3eb9a1a6 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 10 Jun 2026 16:35:02 +0200 Subject: [PATCH] swscale/x86: use correct HOSTCC_E flag instead of CC_E HOSTCC and CC might be completely different compilers. Signed-off-by: Niklas Haas --- configure | 1 + libswscale/x86/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 9189e41413..e67aa362ad 100755 --- a/configure +++ b/configure @@ -8754,6 +8754,7 @@ HOSTCCDEP=$HOSTCCDEP HOSTCCDEP_FLAGS=$HOSTCCDEP_FLAGS HOSTCC_DEPFLAGS=$HOSTCC_DEPFLAGS HOSTCC_C=$HOSTCC_C +HOSTCC_E=$HOSTCC_E HOSTCC_O=$HOSTCC_O HOSTLD_O=$HOSTLD_O TARGET_EXEC=$target_exec $target_exec_args diff --git a/libswscale/x86/Makefile b/libswscale/x86/Makefile index da0cb98a9f..2eeb2b2627 100644 --- a/libswscale/x86/Makefile +++ b/libswscale/x86/Makefile @@ -28,5 +28,5 @@ $(SUBDIR)x86/ops_int.o: $(SUBDIR)x86/uops_macros.gen.asm $(SUBDIR)x86/ops_float.o: $(SUBDIR)x86/uops_macros.gen.asm $(SUBDIR)x86/uops_macros.gen.asm: $(SRC_PATH)/libswscale/x86/uops_macros.asm.h \ $(SRC_PATH)/libswscale/uops_macros.h - $(HOSTCC) $(CC_E) $(CPPFLAGS) $< + $(HOSTCC) $(HOSTCC_E) $(CPPFLAGS) $< endif