This patch adds -nodefaultlibs to LDFLAGS when compiling udev against
klibc. This fixes the warning that I was getting when using $(LD)=gcc
in the versions after Makefile.klibc disappeared. The problem was that
it was still including a "-lc" in the call to the linker.
-I$(INCLUDE_DIR)/bits$(BITSIZE) -I$(GCCINCDIR) -Iklibc/linux/include \
-D__KLIBC__
LIB_OBJS =
- LDFLAGS = --static --nostdlib -nostartfiles
+ LDFLAGS = --static --nostdlib -nostartfiles -nodefaultlibs
else
CRT0 =
LIBC =