mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-16 20:02:47 +00:00
fix nspr sun cc build on linux
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4829 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a75defc898
commit
2847f41e70
@ -1391,15 +1391,13 @@ tools are selected during the Xcode/Developer Tools installation.])
|
|||||||
AC_DEFINE(LINUX)
|
AC_DEFINE(LINUX)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
CFLAGS="$CFLAGS -Wall"
|
|
||||||
CXXFLAGS="$CXXFLAGS -Wall"
|
|
||||||
MDCPUCFG_H=_linux.cfg
|
MDCPUCFG_H=_linux.cfg
|
||||||
PR_MD_CSRCS=linux.c
|
PR_MD_CSRCS=linux.c
|
||||||
MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
|
MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
|
||||||
DSO_CFLAGS=-fPIC
|
DSO_CFLAGS=-fPIC
|
||||||
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
|
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
|
||||||
_OPTIMIZE_FLAGS=-O2
|
_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
|
# combo is not yet good at debugging inlined
|
||||||
# functions (even when using DWARF2 as the
|
# functions (even when using DWARF2 as the
|
||||||
# debugging format)
|
# debugging format)
|
||||||
@ -1872,7 +1870,7 @@ mips-sony-newsos*)
|
|||||||
*-sunos*)
|
*-sunos*)
|
||||||
AC_DEFINE(XP_UNIX)
|
AC_DEFINE(XP_UNIX)
|
||||||
AC_DEFINE(SUNOS4)
|
AC_DEFINE(SUNOS4)
|
||||||
CFLAGS="$CFLAGS -Wall -Wno-format"
|
# CFLAGS="$CFLAGS -Wall -Wno-format"
|
||||||
if test "$USE_MDUPDATE"; then
|
if test "$USE_MDUPDATE"; then
|
||||||
CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)"
|
CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)"
|
||||||
fi
|
fi
|
||||||
|
@ -91,4 +91,4 @@ _PR_x86_64_AtomicAdd:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
/ Magic indicating no need for an executable stack
|
/ Magic indicating no need for an executable stack
|
||||||
.section .note.GNU-stack, "", @progbits ; .previous
|
/.section .note.GNU-stack, "", @progbits ; .previous
|
||||||
|
Loading…
x
Reference in New Issue
Block a user