[packages] Mass Fix for GCC 4.6
authorDaniel Dickinson <daniel@cshore.neomailbox.net>
Tue, 14 Feb 2012 17:34:08 +0000 (17:34 +0000)
committerDaniel Dickinson <daniel@cshore.neomailbox.net>
Tue, 14 Feb 2012 17:34:08 +0000 (17:34 +0000)
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

index 08ccc76ec366a7e7697d833a671251764df68f87..270f84b3f3c622376cc143b5c436102bf90b00d1 100644 (file)
--- 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