From 2b1213c6434d5aa6f5be280c707cee48c54fd8fd Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 4 Nov 1993 08:57:48 +0000 Subject: Formerly Makeconf.~4~ --- Makeconf | 8 +++++--- 1 file 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 -- cgit v1.2.3