[FFmpeg-devel] [PATCH 1/2] configure: fix passing Objective-C flags

Marvin Scholz epirat07 at gmail.com
Thu Sep 26 02:41:15 EEST 2024


Passing Objective-C flags from configure to the Makefiles was broken, as
configure incorrectly used the OBJCCFLAGS instead of OBJCFLAGS variable
which was then later overwritten in the common.mak:

  OBJCCFLAGS  = $(CPPFLAGS) $(CFLAGS) $(OBJCFLAGS)

The fix for this is simple, analogous to how it is handled for CFLAGS,
use OBJCFLAGS here so that the flags are properly included in the
aforementioned OBJCCFLAGS definition.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index d77a55b653..0c57dda85b 100755
--- a/configure
+++ b/configure
@@ -8083,7 +8083,7 @@ LN_S=$ln_s
 CPPFLAGS=$CPPFLAGS
 CFLAGS=$CFLAGS
 CXXFLAGS=$CXXFLAGS
-OBJCCFLAGS=$OBJCFLAGS
+OBJCFLAGS=$OBJCFLAGS
 ASFLAGS=$ASFLAGS
 NVCCFLAGS=$nvccflags
 AS_C=$AS_C

base-commit: 10b3edbe24c403973b7910054f104eeef5909707
-- 
2.39.3 (Apple Git-146)




More information about the ffmpeg-devel mailing list