fix nmap build
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Jul 2005 15:58:27 +0000 (15:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Jul 2005 15:58:27 +0000 (15:58 +0000)
SVN-Revision: 1349

openwrt/package/nmap/Makefile

index 8c010840bdcf5fa353d1be49bec014e1b7df86da..3c28caa399ff286b7c1f9cf5611b0be2a629d519 100644 (file)
@@ -25,7 +25,7 @@ $(PKG_BUILD_DIR)/.configured:
                CFLAGS="$(TARGET_CFLAGS)" \
                CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++ -nodefaultlibs " \
                CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
-               LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib  -fno-builtin -nostdinc++ -nodefaultlibs -luClibc++ -lc -lm" \
+               LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib  -fno-builtin -nostdinc++ -nodefaultlibs -luClibc++ -lc -lm -lgcc_s" \
                ac_cv_prog_CXX="$(TARGET_CXX)" \
                ./configure \
                  --target=$(GNU_TARGET_NAME) \