mirror of https://github.com/encounter/SDL.git
configure: Apple platforms don't need to build with -fpascal-strings anymore.
This commit is contained in:
parent
677b2e5713
commit
8816bb08f9
|
@ -24143,7 +24143,6 @@ $as_echo "#define SDL_VIDEO_RENDER_OGL_ES 1" >>confdefs.h
|
||||||
$as_echo "#define SDL_VIDEO_RENDER_OGL_ES2 1" >>confdefs.h
|
$as_echo "#define SDL_VIDEO_RENDER_OGL_ES2 1" >>confdefs.h
|
||||||
|
|
||||||
SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
|
SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
|
||||||
|
@ -24236,7 +24235,6 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
|
||||||
# Set up other core UNIX files
|
# Set up other core UNIX files
|
||||||
SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
|
SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
|
||||||
# The Mac OS X platform requires special setup.
|
# The Mac OS X platform requires special setup.
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
|
||||||
|
|
|
@ -3604,7 +3604,6 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES, 1, [ ])
|
||||||
AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES2, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES2, 1, [ ])
|
||||||
SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
|
SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
|
||||||
|
@ -3685,7 +3684,6 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
# Set up other core UNIX files
|
# Set up other core UNIX files
|
||||||
SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
|
SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
|
||||||
# The Mac OS X platform requires special setup.
|
# The Mac OS X platform requires special setup.
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
|
||||||
|
|
Loading…
Reference in New Issue