From 16d789fba9f001547802c53b5e1015fed564b23f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 24 Nov 2020 07:30:39 -0800 Subject: [PATCH] Disable compiler warning when using -fobjc-weak building C code --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 9ab03faab..e3dc06c01 100755 --- a/configure +++ b/configure @@ -23199,7 +23199,7 @@ $as_echo "$enable_joystick_mfi" >&6; } $as_echo "#define SDL_JOYSTICK_MFI 1" >>confdefs.h - EXTRA_CFLAGS="$EXTRA_CFLAGS -fobjc-weak" + EXTRA_CFLAGS="$EXTRA_CFLAGS -fobjc-weak -Wno-unused-command-line-argument" EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-weak_framework,CoreHaptics -Wl,-weak_framework,GameController" fi fi