mirror of https://github.com/encounter/SDL.git
Disable compiler warning when using -fobjc-weak building C code
This commit is contained in:
parent
a5cde4cb0c
commit
16d789fba9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue