From 6d9594238984c592fe706f7c2b1d57edb38fe14f Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Tue, 14 Feb 2012 17:34:08 +0000 Subject: [PATCH] [packages] Mass Fix for GCC 4.6 nodefaultlibs now includes libc so we have to add it where we want it git-svn-id: svn://svn.openwrt.org/openwrt/packages/ipv6/ndppd@30530 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 08ccc76..270f84b 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ define Build/Compile CXXFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CXXFLAGS) -fno-builtin -fno-rtti -nostdinc++ \ -I$(STAGING_DIR)/usr/include/uClibc++ -I$(LINUX_DIR)/include" \ LDFLAGS="$(TARGET_LDFLAGS)" \ - LIBS="-nodefaultlibs -luClibc++ -lconfuse" \ + LIBS="-nodefaultlibs -lc -luClibc++ -lconfuse" \ ndppd endef