summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/configure
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/configure
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/configure')
-rw-r--r--gnu/usr.bin/gcc/configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/configure b/gnu/usr.bin/gcc/configure
index 1be333cc0f5..49b047cecda 100644
--- a/gnu/usr.bin/gcc/configure
+++ b/gnu/usr.bin/gcc/configure
@@ -948,6 +948,15 @@ for machine in $canon_build $canon_host $canon_target; do
tmake_file=t-libc-ok
xmake_file=x-netbsd
;;
+ i[345]86-*-openbsd*)
+ cpu_type=i386
+ tm_file=i386/openbsd.h
+ xm_file=i386/xm-openbsd.h
+ # On OpenBSD, the headers are already okay.
+ fixincludes=Makefile.in
+ tmake_file=t-libc-ok
+ xmake_file=x-openbsd
+ ;;
i[345]86-*-coff*)
cpu_type=i386
tm_file=i386/i386-coff.h