[packages] more gcc 4.6 compilation fixes
authorDaniel Dickinson <crazycshore@gmail.com>
Wed, 15 Feb 2012 09:34:08 +0000 (09:34 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Wed, 15 Feb 2012 09:34:08 +0000 (09:34 +0000)
SVN-Revision: 30548

ipv6/ndppd/Makefile
net/kismet/Makefile
net/rrs/Makefile

index 270f84b3f3c622376cc143b5c436102bf90b00d1..1750d2477d9ac558c8f2506f14e31acebf5dfa16 100644 (file)
@@ -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 -lc -luClibc++ -lconfuse" \
+               LIBS="-nodefaultlibs -lc -luClibc++ -lconfuse $(LIBGCC_S)" \
                ndppd
 endef
 
index 1b9b6896b5e08b5a61f434f08d34f7bfd5290507..c3f13a163a95cceef062f67e3349a8db39ddb8dd 100644 (file)
@@ -86,7 +86,7 @@ CONFIGURE_VARS += \
        CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
        LDFLAGS="$$$$LDFLAGS" \
        LIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S)" \
-       CLIENTCLIBS="-nodefaultlibs -luClibc++ -lm $(LIBGCC_S)" \
+       CLIENTCLIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S)" \
        libnl1_LIBS="-libnl-tiny"
 
 define Build/Compile
index 3184f7e4c6475532c502599b7786e49bcba107c0..e7d032c8c5aef059ccfc1854d738562093329f34 100644 (file)
@@ -48,8 +48,8 @@ $(STAMP_BUILT)-$(2): $(STAMP_PREPARED)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC="$(TARGET_CC)" \
                CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
-               LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lc $(4) -luClibc++ -lm -lutil" \
-               LDFLAGSNOSSL="$(TARGET_LDFLAGS) -nodefaultlibs $(4) -luClibc++ -lm -lutil" \
+               LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lc $(4) -luClibc++ -lm -lutil $(LIBGCC_S)" \
+               LDFLAGSNOSSL="$(TARGET_LDFLAGS) -nodefaultlibs -lc $(4) -luClibc++ -lm -lutil $(LIBGCC_S)" \
                $(3)
        ( cd $(PKG_BUILD_DIR); mv -f rrs rrs-$(2); )
        touch $$@