summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-04-14 23:35:25 +0000
committerRoland McGrath <roland@redhat.com>1992-04-14 23:35:25 +0000
commita31b168049fef348ceb4b0e0525320c32386168f (patch)
tree19c4a3864acf8392e0f2f961935726efda416658
parent22fda945cc5b5291fdc5b9eaa6fa8c74b56a85fe (diff)
downloadgunmake-a31b168049fef348ceb4b0e0525320c32386168f.tar.gz
Formerly GNUmakefile.~54~
-rw-r--r--GNUmakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index abfaa84..af72d88 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -63,10 +63,15 @@ ifneq ($(wildcard $(libc_dir)/works-for-make),)
dash_m := -M
CPPFLAGS := -I$(libc_dir)/ansi
LDFLAGS := -nostdlib $(libc_dir)/start.o
+ifeq ($(ARCH),hp300)
+gcc-arch = hp300bsd
+else
+gcc-arch = $(ARCH)
+endif
LOADLIBES := $(LOADLIBES) \
$(libc_dir)/mcheck-init.o \
$(libc_dir)/libc.a \
- /usr/local/lib/gcc-gnulib \
+ /usr/local/lib/gcc-lib/$(gcc-arch)/2.1/libgcc.a \
$(libc_dir)/libc.a
$(prog): $(libc_dir)/libc.a