[Freeswitch-branches] [commit] r4828 - in freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub: . pr/src/md/unix

Freeswitch SVN mikej at freeswitch.org
Sun Apr 1 18:49:10 EDT 2007


Author: mikej
Date: Sun Apr  1 18:49:10 2007
New Revision: 4828

Modified:
   freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub/configure.in
   freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub/pr/src/md/unix/os_Linux_x86_64.s

Log:
fix sun cc build of nspr

Modified: freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub/configure.in
==============================================================================
--- freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub/configure.in	(original)
+++ freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub/configure.in	Sun Apr  1 18:49:10 2007
@@ -1391,15 +1391,13 @@
         AC_DEFINE(LINUX)
         ;;
     esac
-    CFLAGS="$CFLAGS -Wall"
-    CXXFLAGS="$CXXFLAGS -Wall"
     MDCPUCFG_H=_linux.cfg
     PR_MD_CSRCS=linux.c
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
     DSO_CFLAGS=-fPIC
     DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
     _OPTIMIZE_FLAGS=-O2
-    _DEBUG_FLAGS="-g -fno-inline"  # most people on linux use gcc/gdb, and that
+    _DEBUG_FLAGS="-g"  # most people on linux use gcc/gdb, and that
                                    # combo is not yet good at debugging inlined
                                    # functions (even when using DWARF2 as the
                                    # debugging format)
@@ -1872,7 +1870,7 @@
 *-sunos*)
     AC_DEFINE(XP_UNIX)
     AC_DEFINE(SUNOS4)
-    CFLAGS="$CFLAGS -Wall -Wno-format"
+#    CFLAGS="$CFLAGS -Wall -Wno-format"
     if test "$USE_MDUPDATE"; then
         CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)"
     fi

Modified: freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub/pr/src/md/unix/os_Linux_x86_64.s
==============================================================================
--- freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub/pr/src/md/unix/os_Linux_x86_64.s	(original)
+++ freeswitch/branches/mikej/sofiasip-upgrade/libs/js/nsprpub/pr/src/md/unix/os_Linux_x86_64.s	Sun Apr  1 18:49:10 2007
@@ -91,4 +91,4 @@
     ret
 
 / Magic indicating no need for an executable stack
-.section .note.GNU-stack, "", @progbits ; .previous
+/.section .note.GNU-stack, "", @progbits ; .previous



More information about the Freeswitch-branches mailing list