[Commits] SDL: configure: Apple platforms don't need to build with -fpasca...

libsdl.org revision control commits-owner at libsdl.org
Fri Aug 18 17:25:29 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/4275bb4b49f4
changeset: 11322:4275bb4b49f4
user:      Ryan C. Gordon <icculus at icculus.org>
date:      Fri Aug 18 19:53:40 2017 -0400
description:
configure: Apple platforms don't need to build with -fpascal-strings anymore.

diffstat:

 configure    |  2 --
 configure.in |  2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 83d8c09e9a55 -r 4275bb4b49f4 configure
--- a/configure	Fri Aug 18 19:52:58 2017 -0400
+++ b/configure	Fri Aug 18 19:53:40 2017 -0400
@@ -24143,7 +24143,6 @@
 $as_echo "#define SDL_VIDEO_RENDER_OGL_ES2 1" >>confdefs.h
 
         SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
-        EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
@@ -24236,7 +24235,6 @@
         # Set up other core UNIX files
         SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
         # The Mac OS X platform requires special setup.
-        EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
diff -r 83d8c09e9a55 -r 4275bb4b49f4 configure.in
--- a/configure.in	Fri Aug 18 19:52:58 2017 -0400
+++ b/configure.in	Fri Aug 18 19:53:40 2017 -0400
@@ -3604,7 +3604,6 @@
         AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES, 1, [ ])
         AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES2, 1, [ ])
         SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
-        EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
@@ -3685,7 +3684,6 @@
         # Set up other core UNIX files
         SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
         # The Mac OS X platform requires special setup.
-        EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"


More information about the commits mailing list