Fix x86 checks so that they work for xeon processors

Bug #199343 r=wtc
This commit is contained in:
seawood%netscape.com 2003-04-18 19:18:12 +00:00
parent 0108f5ba97
commit 0086cfc314
2 changed files with 8 additions and 16 deletions

View File

@ -3082,7 +3082,7 @@ EOF
PR_MD_ARCH_DIR=beos PR_MD_ARCH_DIR=beos
RESOLVE_LINK_SYMBOLS=1 RESOLVE_LINK_SYMBOLS=1
case "${target_cpu}" in case "${target_cpu}" in
i?86) i*86)
_OPTIMIZE_FLAGS=-O2 _OPTIMIZE_FLAGS=-O2
_DEBUG_FLAGS='-gdwarf-2 -O0' _DEBUG_FLAGS='-gdwarf-2 -O0'
MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@' MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@'
@ -3757,7 +3757,7 @@ EOF
CFLAGS="$CFLAGS -mieee" CFLAGS="$CFLAGS -mieee"
CXXFLAGS="$CXXFLAGS -mieee" CXXFLAGS="$CXXFLAGS -mieee"
;; ;;
i?86) i*86)
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define i386 1 #define i386 1
EOF EOF
@ -3920,7 +3920,7 @@ EOF
esac esac
case "$target_cpu" in case "$target_cpu" in
i?86) i*86)
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define _X86_ 1 #define _X86_ 1
EOF EOF
@ -4721,8 +4721,8 @@ EOF
LD='-ilink' LD='-ilink'
MKSHLIB='$(LD) $(DSO_LDOPTS)' MKSHLIB='$(LD) $(DSO_LDOPTS)'
IMPLIB='implib -nologo -noignorecase' IMPLIB='implib -nologo -noignorecase'
FILTER='cppfilt -q -B -P' FILTER='cppfilt -q -B -P -o'
_OPTIMIZE_FLAGS='/O+ /Gl+ /Gx+ /qtune=pentium /qarch=pentium' _OPTIMIZE_FLAGS='/O+ /Gl+ /G5 /qarch=pentium'
_DEBUG_FLAGS='/Ti+ ' _DEBUG_FLAGS='/Ti+ '
LDFLAGS='/NOL /M /L' LDFLAGS='/NOL /M /L'
DLLFLAGS='/O:$@ /DLL /INC:_dllentry /MAP:$(@:.dll=.map) /L /NOL' DLLFLAGS='/O:$@ /DLL /INC:_dllentry /MAP:$(@:.dll=.map) /L /NOL'
@ -5458,14 +5458,6 @@ fi
RELEASE_OBJDIR_NAME="${OS_CONFIG}${CPU_ARCH_TAG}${COMPILER_TAG}${IMPL_STRATEGY}${OBJDIR_TAG}.${OBJDIR_SUFFIX}" RELEASE_OBJDIR_NAME="${OS_CONFIG}${CPU_ARCH_TAG}${COMPILER_TAG}${IMPL_STRATEGY}${OBJDIR_TAG}.${OBJDIR_SUFFIX}"
case "$target_os" in
mingw*|cygwin*|msvc*|mksnt*)
CC="\$(CYGWIN_WRAPPER) $CC"
CXX="\$(CYGWIN_WRAPPER) $CXX"
RC="\$(CYGWIN_WRAPPER) $RC"
;;
esac

View File

@ -768,7 +768,7 @@ case "$target" in
PR_MD_ARCH_DIR=beos PR_MD_ARCH_DIR=beos
RESOLVE_LINK_SYMBOLS=1 RESOLVE_LINK_SYMBOLS=1
case "${target_cpu}" in case "${target_cpu}" in
i?86) i*86)
_OPTIMIZE_FLAGS=-O2 _OPTIMIZE_FLAGS=-O2
_DEBUG_FLAGS='-gdwarf-2 -O0' _DEBUG_FLAGS='-gdwarf-2 -O0'
MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@' MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@'
@ -1165,7 +1165,7 @@ case "$target" in
CFLAGS="$CFLAGS -mieee" CFLAGS="$CFLAGS -mieee"
CXXFLAGS="$CXXFLAGS -mieee" CXXFLAGS="$CXXFLAGS -mieee"
;; ;;
i?86) i*86)
AC_DEFINE(i386) AC_DEFINE(i386)
PR_MD_ASFILES=os_Linux_x86.s PR_MD_ASFILES=os_Linux_x86.s
;; ;;
@ -1301,7 +1301,7 @@ case "$target" in
esac esac
case "$target_cpu" in case "$target_cpu" in
i?86) i*86)
AC_DEFINE(_X86_) AC_DEFINE(_X86_)
;; ;;
alpha) alpha)