From 163e5fd84df0c0246755acf53daffeaee97ad056 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Thu, 26 Sep 2024 01:41:15 +0200 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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