X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c184d2e38bee20a026205e1b9f653b9422f7f2b8..bf0d0855df44c49b8a90fbd43dab87eace5ac1a0:/package/nmap/Makefile diff --git a/package/nmap/Makefile b/package/nmap/Makefile index 2cded7e62..659bff958 100644 --- a/package/nmap/Makefile +++ b/package/nmap/Makefile @@ -23,10 +23,10 @@ $(PKG_BUILD_DIR)/.configured: $(TARGET_CONFIGURE_OPTS) \ libpcapdir="$(STAGING_DIR)/usr/lib" \ CFLAGS="$(TARGET_CFLAGS)" \ - CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++" \ + CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ - LIBS="-nodefaultlibs -luClibc++ -lc -lm" \ + LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + LIBS="-luClibc++ -lc -lm -lgcc" \ ac_cv_prog_CXX="$(TARGET_CXX)" \ ./configure \ --target=$(GNU_TARGET_NAME) \