[PR] swscale/x86: use HOSTCPPFLAGS instead of CPPFLAGS for native code (PR #24016)

Steve Lhomme via ffmpeg-devel <[email protected]> Wed, 05 Aug 2026 09:46:13 -0000
Newsgroups gmane.comp.video.ffmpeg.devel
Message-ID <178592317435.59.1416293030674393872@29965ddac10e>
PR #24016 opened by Steve Lhomme (robUx4)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24016
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24016.patch

Similar to 976e18fdef8bcd0602b6b94bb157a82a3eb9a1a6.


>From 2daf6071242ed5a90ac50ebf5639c5e65738363e Mon Sep 17 00:00:00 2001
From: Steve Lhomme <[email protected]>
Date: Wed, 5 Aug 2026 11:45:10 +0200
Subject: [PATCH] swscale/x86: use HOSTCPPFLAGS instead of CPPFLAGS for native
 code

Similar to 976e18fdef8bcd0602b6b94bb157a82a3eb9a1a6.
---
 libswscale/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/x86/Makefile b/libswscale/x86/Makefile
index 0f7a3dbf2d..4467fd877d 100644
--- a/libswscale/x86/Makefile
+++ b/libswscale/x86/Makefile
@@ -32,5 +32,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) $(HOSTCC_E) $(CPPFLAGS) $<
+	$(HOSTCC) $(HOSTCC_E) $(HOSTCPPFLAGS) $<
 endif
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]