diff options
author | Michael I. Bushnell <mib@gnu.org> | 1993-11-04 08:57:48 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1993-11-04 08:57:48 +0000 |
commit | 2b1213c6434d5aa6f5be280c707cee48c54fd8fd (patch) | |
tree | e66b01a1b76eb76c531fa52c4b5a3775e172fd28 | |
parent | 74f11878ad54c8090a5643aa3615b51b2e5e6ffb (diff) |
Formerly Makeconf.~4~
-rw-r--r-- | Makeconf | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |