summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/Makefile.tgt
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2010-05-04 18:37:01 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2010-05-04 18:37:01 +0000
commit22479fa11d54345c4fc4e503894d73ebe042699b (patch)
treef1f83ede7de38dafb22d68e6b7597c7828a767df /gnu/usr.bin/cc/Makefile.tgt
parentc63836ae0978aff66479afba149e6cd7a1b860f9 (diff)
add infrastructure to build GCC 4.2.1 for OpenBSD/alpha; ok kettenis@
Diffstat (limited to 'gnu/usr.bin/cc/Makefile.tgt')
-rw-r--r--gnu/usr.bin/cc/Makefile.tgt6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/Makefile.tgt b/gnu/usr.bin/cc/Makefile.tgt
index 911b1c4ab12..7371d2caa36 100644
--- a/gnu/usr.bin/cc/Makefile.tgt
+++ b/gnu/usr.bin/cc/Makefile.tgt
@@ -1,9 +1,11 @@
# $FreeBSD: src/gnu/usr.bin/cc/Makefile.tgt,v 1.11.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile.tgt,v 1.3 2010/04/26 05:45:25 robert Exp $
+# $OpenBSD: Makefile.tgt,v 1.4 2010/05/04 18:37:00 naddy Exp $
TARGET_ARCH?= ${MACHINE_ARCH}
-.if ${TARGET_ARCH} == "arm"
+.if ${TARGET_ARCH} == "alpha"
+GCC_CPU= alpha
+.elif ${TARGET_ARCH} == "arm"
GCC_CPU= arm
.elif ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
GCC_CPU= i386