]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix nspr sun cc build on linux
authorMichael Jerris <mike@jerris.com>
Sun, 1 Apr 2007 23:12:57 +0000 (23:12 +0000)
committerMichael Jerris <mike@jerris.com>
Sun, 1 Apr 2007 23:12:57 +0000 (23:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4829 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/js/nsprpub/configure.in
libs/js/nsprpub/pr/src/md/unix/os_Linux_x86_64.s

index a707b1a32f781f1bacea20351847c2ae7e69f677..74c2fa5e15c386d894ca2b23fa90c08a8ddffe6a 100644 (file)
@@ -1391,15 +1391,13 @@ tools are selected during the Xcode/Developer Tools installation.])
         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 @@ mips-sony-newsos*)
 *-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
index 5aa1c5ab2b3acccf65caaad89a8c55bd40cf0d30..c62437b23a3261361d5234a193a013161a951807 100644 (file)
@@ -91,4 +91,4 @@ _PR_x86_64_AtomicAdd:
     ret
 
 / Magic indicating no need for an executable stack
-.section .note.GNU-stack, "", @progbits ; .previous
+/.section .note.GNU-stack, "", @progbits ; .previous