fix dibbler compile on avr32
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 08:54:52 +0000 (08:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 08:54:52 +0000 (08:54 +0000)
SVN-Revision: 12132

ipv6/dibbler/Makefile

index 08ed75f..1b9ce72 100644 (file)
@@ -93,12 +93,12 @@ define Build/Configure
 endef
 
 # link stuff missing from uClibc++ but present in stdc++ statically
-CXX_LIBS:= -nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm
+CXX_LIBS:= -nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -lgcc
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
-               PORT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fno-builtin -fno-rtti" \
+               PORT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fno-builtin" \
                PORT_LDFLAGS="$(TARGET_LDFLAGS)" \
                DEBUGINFO= \
                CXXLD="$(TARGET_CC)" \