Disable compiler warning when using -fobjc-weak building C code

This commit is contained in:
Sam Lantinga 2020-11-24 07:30:39 -08:00
parent a5cde4cb0c
commit 16d789fba9
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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