freebsd-skq/gnu
Andrey A. Chernov 64990426e4 Sorry, Jordan, but I restore previous version again.
You write that
LDFLAGS+= -Xlinker -Bstatic
no more needed, but you have
CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
This -static doesn't make any sense in your version,
because it not passed to linker's state (LDFLAGS),
so we have SHARED /usr/bin/ld in this case.
(Older Makefile produce non-shared ld).
I suppose, that -static in CFLAGS was introduced to
make non-shared ld, so I restore previous LDFLAGS
to have non-shared ld. If we want to have shared ld
we need to remove -static from CFLAGS too, not only LDFLAGS,
but this need special issue and corresponding
commit log. Your current version hang into intermediate
state (beetween two sides), so I move it to one side.

Second, I restore NOPIC dependance again from older Makefile:
.if !defined(NOPIC)
SUBDIR+= rtld
.endif
We don't need ld.so, if NOPIC

P.S. I don't see any purpose to commit new makefile, old version
is better.
1993-12-02 09:56:30 +00:00
..
games/chess The src/games/Makefile.inc use to control the location this installed in, 1993-09-02 11:11:42 +00:00
lib Added 1993-11-09 20:25:14 +00:00
libexec/uucp remove HAVE_SETPGRP, because it doesn't detach terminal 1993-11-18 01:19:06 +00:00
usr.bin Sorry, Jordan, but I restore previous version again. 1993-12-02 09:56:30 +00:00
COPYING Updated GNU utilities 1993-06-18 04:22:21 +00:00
COPYING.LIB Adding GPL docs, make structure. 1993-06-18 06:05:45 +00:00
Makefile Added libmalloc to top level Makefile 1993-09-24 17:20:35 +00:00
Makefile.inc Added gdb/gas/ld to GNU makefiles 1993-06-29 09:54:26 +00:00