Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 54738
Collapse All | Expand All

(-)src/makemake.in (-3 / +9 lines)
Lines 1124-1129 Link Here
1124
            # gcc-2.7.2 has a strength-reduction bug (fixed in gcc-2.7.2.1,
1124
            # gcc-2.7.2 has a strength-reduction bug (fixed in gcc-2.7.2.1,
1125
            # also fixed through the specs file of some Linux distributions).
1125
            # also fixed through the specs file of some Linux distributions).
1126
            XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations -fno-strength-reduce' ;;
1126
            XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations -fno-strength-reduce' ;;
1127
          4.2* )                    # SAGE -- needed on x86 Pentium with GCC-4.2.1
1128
            XCFLAGS=$XCFLAGS' -O0' ;;  # note that this is -O0 and *not* -O.
1127
          2.3.[2-9]* | 2.[4-9]* | 3.* | 4.* | egcs-2.*)
1129
          2.3.[2-9]* | 2.[4-9]* | 3.* | 4.* | egcs-2.*)
1128
            XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations' ;;
1130
            XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations' ;;
1129
          * )
1131
          * )
Lines 1146-1152 Link Here
1146
          2.9* | 3.* | 4.*)
1148
          2.9* | 3.* | 4.*)
1147
            # gcc-2.95 produces incorrect code when compiling predtype
1149
            # gcc-2.95 produces incorrect code when compiling predtype
1148
            # (function C_coerce).
1150
            # (function C_coerce).
1149
            XCFLAGS=$XCFLAGS' -O2 -fno-schedule-insns -fno-gcse' ;;
1151
            #XCFLAGS=$XCFLAGS' -O2 -fno-schedule-insns -fno-gcse' ;;
1152
            XCFLAGS=$XCFLAGS' -O0' ;;  # FOR SAGE
1150
          * )
1153
          * )
1151
            XCFLAGS=$XCFLAGS' -O2' ;;
1154
            XCFLAGS=$XCFLAGS' -O2' ;;
1152
        esac
1155
        esac
Lines 1160-1165 Link Here
1160
    elif [ "$cpu" = x86_64 ] ; then
1163
    elif [ "$cpu" = x86_64 ] ; then
1161
      # gcc-3.2.2 produces incorrect code when -O2 is used.
1164
      # gcc-3.2.2 produces incorrect code when -O2 is used.
1162
      XCFLAGS=$XCFLAGS' -O'
1165
      XCFLAGS=$XCFLAGS' -O'
1166
    elif [ "$cpu" = ia64 ] ; then                                # SAGE -- William Stein, 2006-11-07
1167
      # gcc-4.1.1 produces incorrect code when -O2 is used.      # SAGE
1168
      XCFLAGS=$XCFLAGS' -O0'                                     # SAGE
1163
    else
1169
    else
1164
      XCFLAGS=$XCFLAGS' -O2'
1170
      XCFLAGS=$XCFLAGS' -O2'
1165
    fi
1171
    fi
Lines 3023-3029 Link Here
3023
  encflags=''
3029
  encflags=''
3024
fi
3030
fi
3025
someflags=${encflags}' -norc'
3031
someflags=${encflags}' -norc'
3026
echol "RUN= ${HERE}lisp${LEXE} ${localeflags}${someflags}"
3032
echol "RUN= ${HERE}lisp${LEXE} -on-error appease ${localeflags}${someflags}"
3027
echol
3033
echol
3028
3034
3029
for f in ${LUTILS} ; do
3035
for f in ${LUTILS} ; do
Lines 3116-3122 Link Here
3116
else
3122
else
3117
  localeflags='-B `pwd`'
3123
  localeflags='-B `pwd`'
3118
fi
3124
fi
3119
CLISP_="${HERE_}lisp${LEXE} -M ${HERE_}lispinit.mem ${localeflags}${someflags}"
3125
CLISP_="${HERE_}lisp${LEXE} -on-error appease -M ${HERE_}lispinit.mem ${localeflags}${someflags}"
3120
3126
3121
if [ $CROSS = false ] ; then
3127
if [ $CROSS = false ] ; then
3122
  CHECK_DEPS="check-recompile check-fresh-line check-script check-exec-image check-tests"
3128
  CHECK_DEPS="check-recompile check-fresh-line check-script check-exec-image check-tests"

Return to bug 54738