diff mbox series

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

Message ID D4FRJ0AYKVQG.TST4DA0ZEJ47@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/2] configure: fix passing Objective-C flags | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Marvin Scholz Sept. 25, 2024, 11:41 p.m. UTC
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(-)


base-commit: 10b3edbe24c403973b7910054f104eeef5909707
diff mbox series

Patch

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