summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-11-04 08:57:48 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-11-04 08:57:48 +0000
commit2b1213c6434d5aa6f5be280c707cee48c54fd8fd (patch)
treee66b01a1b76eb76c531fa52c4b5a3775e172fd28
parent74f11878ad54c8090a5643aa3615b51b2e5e6ffb (diff)
Formerly Makeconf.~4~
-rw-r--r--Makeconf8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makeconf b/Makeconf
index ae95e242..8e3aec1d 100644
--- a/Makeconf
+++ b/Makeconf
@@ -12,7 +12,7 @@ gccheaders := /usr/local/lib/gcc-lib/i386-compaq-mach/2.4.5/include
# Flags for compilation
CPPFLAGS := -nostdinc -I$(headers) -I$(gccheaders)
-CFRAGS := -Wall -Wno-parentheses -O -g
+CFLAGS := -Wall -Wno-parentheses -O -g
# Finding binaries
CC=gcc
@@ -22,11 +22,13 @@ MIG=mig
# How to do some things:
-ldflags = $(addprefix -Xlinker ,$(LDFLAGS))
+ldflags = $(addprefix -Xlinker ,$(LDFLAGS))
+
+# $(link) uses threads to get malloc until the one in the library is fixed.
define link
$(CC) -nostdlib -e__start $(ldflags) -o $@ $(CFLAGS) $(startup) \
-$^ $(libc) -lgcc $(libc)
+$^ $(libthreads) $(libc) -lgcc
endef
define link-with-threads