summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-05-28 05:03:09 +0000
committerRoland McGrath <roland@redhat.com>1992-05-28 05:03:09 +0000
commit1e9a5d4b8e490cbc35ab6ad15c5501cb31cf1e42 (patch)
tree54654bf125e96968eec7686f13f90c7d1436025b
parentb23887489521363f040912c18daffaee0a7267ae (diff)
downloadgunmake-1e9a5d4b8e490cbc35ab6ad15c5501cb31cf1e42.tar.gz
Formerly GNUmakefile.~62~
-rw-r--r--GNUmakefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6a557d9..bc7d8de 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -61,13 +61,14 @@ libc_dir = /home/gd2/gnu/libc/$(ARCH)
ifneq ($(wildcard $(libc_dir)),)
ifneq ($(wildcard $(libc_dir)/works-for-make),)
dash_m := -M
-CPPFLAGS := -I$(libc_dir)/include
-LDFLAGS := -nostdlib $(libc_dir)/lib/start.o
-LOADLIBES := $(LOADLIBES) \
- $(libc_dir)/lib/mcheck-init.o \
- $(libc_dir)/lib/libc.a \
- -lgcc \
- $(libc_dir)/lib/libc.a
+#CPPFLAGS := -I$(libc_dir)/include
+#LDFLAGS := -nostdlib $(libc_dir)/lib/start.o
+#LOADLIBES := $(LOADLIBES) \
+# $(libc_dir)/lib/mcheck-init.o \
+# $(libc_dir)/lib/libc.a \
+# -lgcc \
+# $(libc_dir)/lib/libc.a
+$(CC) := $(CC) -b glibc
$(prog): $(libc_dir)/lib/libc.a
# glob is in the C library.