Update default optimization flags for OS/2.

Thanks to pedemont@us.ibm.com (Javier Pedemonte) for the patch.
Bug #86730 r=cls
This commit is contained in:
cls%seawood.org 2001-07-20 05:11:15 +00:00
Родитель c6bf1c88a1
Коммит 1760874793
1 изменённых файлов: 13 добавлений и 6 удалений

Просмотреть файл

@ -911,9 +911,13 @@ case "$target" in
AS_DASH_C_FLAG='' AS_DASH_C_FLAG=''
LD='-ilink' LD='-ilink'
TARGET_MD_ARCH=os2 TARGET_MD_ARCH=os2
CFLAGS="/Q /qlibansi /Gd /Gm /Su4 /Mp /Tl-" CFLAGS="/Q /qlibansi /Gd+ /Gm+ /Su4 /Mp /Tl9"
CXXFLAGS="/Q /qlibansi /Gd /Gm /Su4 /Mp /Tl-" CXXFLAGS="/Q /qlibansi /Gd+ /Gm+ /Su4 /Mp /Tl9 /Gx+"
LDFLAGS="/FREE /DE /NOE /LINENUMBERS /nologo" MOZ_DEBUG_FLAGS="/Ti+"
MOZ_OPTIMIZE_FLAGS="/O+ /Gl+ /qtune=pentium /qarch=pentium"
LDFLAGS="/NOL /M /L"
MOZ_DEBUG_LDFLAGS="/DE"
MOZ_OPTIMIZE_LDFLAGS="/OPTFUNC /EXEPACK:2 /PACKCODE /PACKDATA"
DSO_LDOPTS='' DSO_LDOPTS=''
IMPLIB='implib /NOL /NOI' IMPLIB='implib /NOL /NOI'
FILTER='cppfilt -q -B -P' FILTER='cppfilt -q -B -P'
@ -3116,6 +3120,7 @@ if test "$MOZ_OPTIMIZE"
then then
CFLAGS="$CFLAGS $MOZ_OPTIMIZE_FLAGS" CFLAGS="$CFLAGS $MOZ_OPTIMIZE_FLAGS"
CXXFLAGS="$CXXFLAGS $MOZ_OPTIMIZE_FLAGS" CXXFLAGS="$CXXFLAGS $MOZ_OPTIMIZE_FLAGS"
LDFLAGS="$LDFLAGS $MOZ_OPTIMIZE_LDFLAGS"
fi fi
dnl ======================================================== dnl ========================================================
@ -3149,9 +3154,6 @@ MOZ_DEBUG=1
if test ! "$MOZ_DEBUG_FLAGS" if test ! "$MOZ_DEBUG_FLAGS"
then then
case "$target" in case "$target" in
*-*-os2_vacpp)
MOZ_DEBUG_FLAGS="/Ti+"
;;
*-irix*) *-irix*)
if test "$GNU_CC"; then if test "$GNU_CC"; then
GCC_VERSION=`$CC -v 2>&1 | awk '/version/ { print $3 }'` GCC_VERSION=`$CC -v 2>&1 | awk '/version/ { print $3 }'`
@ -3190,6 +3192,11 @@ MOZ_DEBUG_ENABLE_DEFS="$MOZ_DEBUG_ENABLE_DEFS -DTRACING"
MOZ_DEBUG_DISABLE_DEFS="-DNDEBUG -DTRIMMED" MOZ_DEBUG_DISABLE_DEFS="-DNDEBUG -DTRIMMED"
if test "$MOZ_DEBUG"
then
LDFLAGS="$LDFLAGS $MOZ_DEBUG_LDFLAGS"
fi
dnl ======================================================== dnl ========================================================
dnl = dnl =
dnl = --enable-strip-libs dnl = --enable-strip-libs