зеркало из https://github.com/mozilla/pjs.git
Bug 322450 - TARGET_XPCOM_ABI not set in solaris builds, patch by Leon Sha <leon.sha@sun.com> r=me
This commit is contained in:
Родитель
fbecfbef8b
Коммит
a6bf543578
|
@ -1025,7 +1025,7 @@ fi
|
|||
# Only set CPU_ARCH if we recognize the value of OS_TEST
|
||||
|
||||
case "$OS_TEST" in
|
||||
*86)
|
||||
*86 | i86pc)
|
||||
CPU_ARCH=x86
|
||||
;;
|
||||
|
||||
|
@ -1037,8 +1037,12 @@ Alpha | alpha | ALPHA)
|
|||
CPU_ARCH=Alpha
|
||||
;;
|
||||
|
||||
sun4u)
|
||||
CPU_ARCH=sparc
|
||||
;;
|
||||
|
||||
x86_64 | sparc | ppc | ia64)
|
||||
CPU_ARCH="$CPU_ARCH_TEST"
|
||||
CPU_ARCH="$OS_TEST"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -2037,6 +2041,7 @@ dnl the qsort routine under solaris is faulty
|
|||
AS='/usr/ccs/bin/as'
|
||||
ASFLAGS="$ASFLAGS -K PIC -L -P -D_ASM -D__STDC__=0"
|
||||
AS_DASH_C_FLAG=''
|
||||
TARGET_COMPILER_ABI="sunc"
|
||||
CC_VERSION=`$CC -V 2>&1 | grep '^cc:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
|
||||
CXX_VERSION=`$CXX -V 2>&1 | grep '^CC:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
|
||||
AC_MSG_CHECKING([for Forte compiler version >= WS6U2])
|
||||
|
|
Загрузка…
Ссылка в новой задаче