diff options
author | mort@wildopensource.com <mort@wildopensource.com> | 2003-12-02 00:59:36 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:04 -0700 |
commit | 7f2ea6a38223b02d38406baf1843f4ee1349abcf (patch) | |
tree | 350a71a6ec3bdc02350263cf0a91341fc6d288be | |
parent | edcd336477880368915245a4b7ddd1bca5940b30 (diff) |
[PATCH] Add -nodefaultlibs while compiling against klibc
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.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ ifeq ($(strip $(KLIBC)),true) -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 = |