aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2024-09-26 01:41:15 +0200
committerZhao Zhili <zhilizhao@tencent.com>2025-03-17 10:57:29 +0800
commit163e5fd84df0c0246755acf53daffeaee97ad056 (patch)
treead40fe4327a6db57d72220c8e3334c33d86f4475
parent3ad00ebf2cd8d2e41530dbacf6cf68e45ea6b5fd (diff)
downloadffmpeg-163e5fd84df0c0246755acf53daffeaee97ad056.tar.gz
configure: fix passing Objective-C flags
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. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 750c99e3b9..87d03897fa 100755
--- a/configure
+++ b/configure
@@ -8141,7 +8141,7 @@ LN_S=$ln_s
CPPFLAGS=$CPPFLAGS
CFLAGS=$CFLAGS
CXXFLAGS=$CXXFLAGS
-OBJCCFLAGS=$OBJCFLAGS
+OBJCFLAGS=$OBJCFLAGS
ASFLAGS=$ASFLAGS
NVCCFLAGS=$nvccflags
AS_C=$AS_C