freebsd-ports/lang/gcc40/files/patch-al

42 lines
1.3 KiB
Plaintext

--- gcc/configure.in.orig Mon Jun 19 10:23:54 2000
+++ gcc/configure.in Mon Jun 26 15:37:26 2000
@@ -742,6 +742,22 @@
thread_file='posix'
fi
;;
+ alpha*-*-freebsd*)
+ tm_file="${tm_file} freebsd.h alpha/freebsd.h"
+ xm_file="${xm_file} xm-freebsd.h"
+ target_cpu_default="MASK_GAS"
+ tmake_file="t-freebsd alpha/t-crtbe"
+ xmake_file=none
+ fixincludes=fixinc.wrap
+ gas=yes
+ gnu_ld=yes
+ case x${enable_threads} in
+ xyes | xpthreads | xposix)
+ thread_file='posix'
+ tmake_file="${tmake_file} t-freebsd-thread"
+ ;;
+ esac
+ ;;
alpha*-*-netbsd*)
tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
target_cpu_default="MASK_GAS"
@@ -1441,13 +1457,13 @@
changequote(,)dnl
i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd*aout*)
changequote([,])dnl
- tm_file="i386/freebsd.h i386/perform.h"
+ tm_file="i386/freebsd-aout.h i386/perform.h"
tmake_file=t-freebsd
;;
changequote(,)dnl
i[34567]86-*-freebsd*)
changequote([,])dnl
- tm_file="i386/i386.h i386/att.h svr4.h freebsd.h i386/freebsd-elf.h i386/perform.h"
+ tm_file="i386/i386.h i386/att.h svr4.h freebsd.h i386/freebsd.h i386/perform.h"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file=t-freebsd
gas=yes