From e37dbf930d1cec38fe8b786beb04a0ff526ead8f Mon Sep 17 00:00:00 2001
From: "David D. Zuhn" <zoo@cygnus>
Date: Sat, 13 Feb 1993 10:32:24 +0000
Subject: [PATCH] fix TMPDIR on hp300 automagically, don't have all sorts of -g
 -g -g flags around

---
 build-all.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build-all.mk b/build-all.mk
index d7e013be254..2310e1880b4 100644
--- a/build-all.mk
+++ b/build-all.mk
@@ -21,7 +21,7 @@ TAG	= latest-$(DATE)
 
 INSTALLDIR = /bang/installed-progressive/$(TAG)
 
-GCC = gcc -O -g
+GCC = gcc -O 
 CFLAGS = -g
 
 log	= 1>$(canonhost)-build-log 2>&1
@@ -42,7 +42,7 @@ endif
 
 ifeq ($(canonhost),m68k-sun-sunos4.1.1)
 TARGETS	= $(NATIVE) m68k-vxworks m68k-aout i386-aout
-GCC = gcc -O -g -msoft-float
+GCC = gcc -O -msoft-float
 CC = cc -J
 all: all-cygnus
 endif
@@ -72,7 +72,9 @@ endif
 
 ifeq ($(canonhost),m68k-hp-hpux)
 TARGETS	= m68k-vxworks
+TMPDIR := $(shell mkdir $(canonhost)-tmpdir; cd $(canonhost)-tmpdir ; pwd)
 CC = cc +O1000 -Wp,-P
+CFLAGS = 
 all: all-native
 endif