зеркало из https://github.com/mozilla/pjs.git
Bug 436806: On FreeBSD, assume elf instead of a.out if the objformat
utility is not available. The patch is contributed by Marco Perez <bugmail@millibyte.net>. r=wtc.
This commit is contained in:
Родитель
bdff1be44b
Коммит
28ddccf0da
|
@ -3513,7 +3513,7 @@ EOF
|
|||
EOF
|
||||
|
||||
CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
|
||||
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
|
||||
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
|
||||
if test "$MOZ_OBJFORMAT" = "elf"; then
|
||||
DLL_SUFFIX=so
|
||||
else
|
||||
|
@ -4891,7 +4891,7 @@ EOF
|
|||
;;
|
||||
esac
|
||||
if test "$CPU_ARCH" = "sparc"; then
|
||||
# 64-bit SPARC Solaris requires V9 architecture, so the following
|
||||
# 64-bit Solaris SPARC requires V9 architecture, so the following
|
||||
# is not needed.
|
||||
if test -z "$USE_64"; then
|
||||
ULTRASPARC_LIBRARY=nspr_flt
|
||||
|
|
|
@ -1166,7 +1166,7 @@ tools are selected during the Xcode/Developer Tools installation.])
|
|||
AC_DEFINE(HAVE_BSD_FLOCK)
|
||||
AC_DEFINE(HAVE_SOCKLEN_T)
|
||||
CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
|
||||
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
|
||||
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
|
||||
if test "$MOZ_OBJFORMAT" = "elf"; then
|
||||
DLL_SUFFIX=so
|
||||
else
|
||||
|
@ -2090,7 +2090,7 @@ mips-sony-newsos*)
|
|||
;;
|
||||
esac
|
||||
if test "$CPU_ARCH" = "sparc"; then
|
||||
# 64-bit SPARC Solaris requires V9 architecture, so the following
|
||||
# 64-bit Solaris SPARC requires V9 architecture, so the following
|
||||
# is not needed.
|
||||
if test -z "$USE_64"; then
|
||||
ULTRASPARC_LIBRARY=nspr_flt
|
||||
|
|
Загрузка…
Ссылка в новой задаче