Bug 700745 - Remove -fpascal-strings from mac build options. r=Standard8
authorNomis101@web.de
Tue, 15 Nov 2011 10:26:40 +0000
changeset 9859 1532d5425ddc7345e6271d21754ad9f199283f15
parent 9858 6183e7eb32db275e50c8ff6b3b09965f28eca110
child 9860 e87e557567924852609d33023fb731ce89cab207
push idunknown
push userunknown
push dateunknown
reviewersStandard8
bugs700745
Bug 700745 - Remove -fpascal-strings from mac build options. r=Standard8
configure.in
--- a/configure.in
+++ b/configure.in
@@ -1904,18 +1904,18 @@ ld.])
     esac
     ;;
 
 *-darwin*) 
     MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
     MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
     MOZ_OPTIMIZE_FLAGS="-O3"
     _PEDANTIC=
-    CFLAGS="$CFLAGS -fpascal-strings -fno-common"
-    CXXFLAGS="$CXXFLAGS -fpascal-strings -fno-common"
+    CFLAGS="$CFLAGS -fno-common"
+    CXXFLAGS="$CXXFLAGS -fno-common"
     DLL_SUFFIX=".dylib"
     DSO_LDOPTS=''
     STRIP="$STRIP -x -S"
     _PLATFORM_DEFAULT_TOOLKIT='cairo-cocoa'
     TARGET_NSPR_MDCPUCFG='\"md/_darwin.cfg\"'
     # The ExceptionHandling framework is needed for Objective-C exception
     # logging code in nsObjCExceptions.h. Currently we only use that in debug
     # builds.