summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2001-03-15 17:02:30 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2001-03-15 17:02:30 +0000
commit8cf5d0f5398c0ed20fc4ee12d5f397eb1c93a0b9 (patch)
tree1b4ac900f9d69b6c476c6172a1e6f6e206a401f5 /devel
parentWhy bother even copying the file into ${WRKSRC}? (diff)
Crude hack to get all this running on the alpha architecutre as well.
Since gcc (in the assumption of generating a native compiler) doesn't want to cbe configured for an alpha*-*-freebsd* system, we hack the configure script to allow this (similarly to netbsd). In the end, all this will be ignored anyway since it's getting to become a cross-compiler.
Notes
Notes: svn path=/head/; revision=39892
Diffstat (limited to 'devel')
-rw-r--r--devel/avr-gcc-3/files/patch-aa22
-rw-r--r--devel/avr-gcc/files/patch-aa22
2 files changed, 44 insertions, 0 deletions
diff --git a/devel/avr-gcc-3/files/patch-aa b/devel/avr-gcc-3/files/patch-aa
new file mode 100644
index 000000000000..32f7da28a8ac
--- /dev/null
+++ b/devel/avr-gcc-3/files/patch-aa
@@ -0,0 +1,22 @@
+--- gcc/configure.in.orig Sat Mar 10 22:07:33 2001
++++ gcc/configure.in Sat Mar 10 22:13:54 2001
+@@ -626,7 +626,7 @@
+ thread_file='posix'
+ fi
+ ;;
+- alpha*-*-netbsd*)
++ alpha*-*-netbsd*|alpha*-*-freebsd*)
+ tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
+ target_cpu_default="MASK_GAS"
+ tmake_file="alpha/t-crtbe alpha/t-ieee"
+--- gcc/configure.orig Wed Oct 13 09:58:02 1999
++++ gcc/configure Thu Mar 15 17:52:27 2001
+@@ -3059,7 +3059,7 @@
+ thread_file='posix'
+ fi
+ ;;
+- alpha*-*-netbsd*)
++ alpha*-*-netbsd*|alpha*-*-freebsd*)
+ tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
+ target_cpu_default="MASK_GAS"
+ tmake_file="alpha/t-crtbe alpha/t-ieee"
diff --git a/devel/avr-gcc/files/patch-aa b/devel/avr-gcc/files/patch-aa
new file mode 100644
index 000000000000..32f7da28a8ac
--- /dev/null
+++ b/devel/avr-gcc/files/patch-aa
@@ -0,0 +1,22 @@
+--- gcc/configure.in.orig Sat Mar 10 22:07:33 2001
++++ gcc/configure.in Sat Mar 10 22:13:54 2001
+@@ -626,7 +626,7 @@
+ thread_file='posix'
+ fi
+ ;;
+- alpha*-*-netbsd*)
++ alpha*-*-netbsd*|alpha*-*-freebsd*)
+ tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
+ target_cpu_default="MASK_GAS"
+ tmake_file="alpha/t-crtbe alpha/t-ieee"
+--- gcc/configure.orig Wed Oct 13 09:58:02 1999
++++ gcc/configure Thu Mar 15 17:52:27 2001
+@@ -3059,7 +3059,7 @@
+ thread_file='posix'
+ fi
+ ;;
+- alpha*-*-netbsd*)
++ alpha*-*-netbsd*|alpha*-*-freebsd*)
+ tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
+ target_cpu_default="MASK_GAS"
+ tmake_file="alpha/t-crtbe alpha/t-ieee"