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.
Unified · Split
| @@ -8141,7 +8141,7 @@ LN_S=$ln_s · 8140 unmodified lines | |||
| 8141 | CPPFLAGS=$CPPFLAGS | 8141 | CPPFLAGS=$CPPFLAGS |
| 8142 | CFLAGS=$CFLAGS | 8142 | CFLAGS=$CFLAGS |
| 8143 | CXXFLAGS=$CXXFLAGS | 8143 | CXXFLAGS=$CXXFLAGS |
| 8144 | OBJCCFLAGS=$OBJCFLAGS | 8144 | OBJCFLAGS=$OBJCFLAGS |
| 8145 | ASFLAGS=$ASFLAGS | 8145 | ASFLAGS=$ASFLAGS |
| 8146 | NVCCFLAGS=$nvccflags | 8146 | NVCCFLAGS=$nvccflags |
| 8147 | AS_C=$AS_C | 8147 | AS_C=$AS_C |