configure: Apple platforms don't need to build with -fpascal-strings anymore.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 18 Aug 2017 19:53:40 -0400
changeset 113224275bb4b49f4
parent 11321 83d8c09e9a55
child 11323 46861f3fc187
configure: Apple platforms don't need to build with -fpascal-strings anymore.
configure
configure.in
     1.1 --- a/configure	Fri Aug 18 19:52:58 2017 -0400
     1.2 +++ b/configure	Fri Aug 18 19:53:40 2017 -0400
     1.3 @@ -24143,7 +24143,6 @@
     1.4  $as_echo "#define SDL_VIDEO_RENDER_OGL_ES2 1" >>confdefs.h
     1.5  
     1.6          SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
     1.7 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
     1.8          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
     1.9          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
    1.10          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
    1.11 @@ -24236,7 +24235,6 @@
    1.12          # Set up other core UNIX files
    1.13          SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
    1.14          # The Mac OS X platform requires special setup.
    1.15 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
    1.16          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
    1.17          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"
    1.18          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
     2.1 --- a/configure.in	Fri Aug 18 19:52:58 2017 -0400
     2.2 +++ b/configure.in	Fri Aug 18 19:53:40 2017 -0400
     2.3 @@ -3604,7 +3604,6 @@
     2.4          AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES, 1, [ ])
     2.5          AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES2, 1, [ ])
     2.6          SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
     2.7 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
     2.8          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
     2.9          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
    2.10          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
    2.11 @@ -3685,7 +3684,6 @@
    2.12          # Set up other core UNIX files
    2.13          SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
    2.14          # The Mac OS X platform requires special setup.
    2.15 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
    2.16          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
    2.17          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"
    2.18          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"