diff --git a/patches/binutils-2.9.1/gas/configure.diff b/patches/binutils-2.9.1/gas/configure.diff index 1f594dd..14b0257 100644 --- a/patches/binutils-2.9.1/gas/configure.diff +++ b/patches/binutils-2.9.1/gas/configure.diff @@ -27,48 +27,3 @@ cat >> confdefs.h <<\EOF #define MANY_SEGMENTS 1 EOF -@@ -2200,33 +2556,44 @@ rm -f conftest* - fi - - echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - elif test $ac_cv_prog_cc_g = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-O2" - fi - else - GCC= - test "${CFLAGS+set}" = set || CFLAGS="-g" - fi - -+### begin-GG-local -+# Check for additional host specific CFLAGS. -+echo $ac_n "checking for host dependent CFLAGS""... $ac_c" 1>&6 -+echo "configure:2603: checking for host dependent CFLAGS" >&5 -+other_host_cflags="" -+case "${host}" in -+ m68*-*-amigaos*) other_host_cflags="-mstackextend" ;; -+esac -+test -n "$other_host_cflags" && CFLAGS="$CFLAGS $other_host_cflags" -+echo "$ac_t""$other_host_cflags" 1>&6 -+### end-GG-local - - for ac_prog in 'bison -y' byacc - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2 - echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 - echo "configure:2222: checking for $ac_word" >&5 - if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - if test -n "$YACC"; then - ac_cv_prog_YACC="$YACC" # Let the user override the test. - else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_YACC="$ac_prog"