summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config.guess
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1995-12-21 01:17:23 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1995-12-21 01:17:23 +0000
commit45b8cd0825f894eda5c4b56f17ad02972f7bf2ff (patch)
tree4afa647bdd533546a136a45d234171ef616154c6 /gnu/usr.bin/gcc/config.guess
parentee08dd3862586da3be6365b2bfcb077a4efba6cc (diff)
First cut at making a minimal intrusive munge of gcc to fit in a BSD
framework. This means, provide a Makefile.bsd-wrapper. Remove intermediate files from the source dir. Build them in the obj-dir. Add some Makefile hooks so we can tune the std Makefile for our purpose but still have it behave normal for out-of-tree configurations. Only i386 is supported for now. The other archs will follow soon. This checkin requires an existing makeinfo and a yacc that accepts -o.
Diffstat (limited to 'gnu/usr.bin/gcc/config.guess')
-rw-r--r--gnu/usr.bin/gcc/config.guess3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config.guess b/gnu/usr.bin/gcc/config.guess
index 2ff0eba28ac..87c47aa6868 100644
--- a/gnu/usr.bin/gcc/config.guess
+++ b/gnu/usr.bin/gcc/config.guess
@@ -312,6 +312,9 @@ EOF
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
+ *:OpenBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ exit 0 ;;
*:GNU:*:*)
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;;