X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/6b53157103d462f7ea0b81f9fe77412719ea2260..1117bca160b07ef9a9274ea42777b1e0971fb6c0:/package/iperf/Makefile diff --git a/package/iperf/Makefile b/package/iperf/Makefile index a4816a629..53589dd9e 100644 --- a/package/iperf/Makefile +++ b/package/iperf/Makefile @@ -1,3 +1,5 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=iperf @@ -20,8 +22,8 @@ $(PKG_BUILD_DIR)/.configured: $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ - CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++ -nodefaultlibs" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \ + LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ LIBS="-luClibc++ -lc -lm -lgcc_s" \ ac_cv_func_malloc_0_nonnull=yes \ ./configure \