X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4497fa55a1d080bbaa7ef9047780852075eb4450..1203b4c004f0579bba568f1c74e10d0dd4ab55a3:/package/iperf/Makefile diff --git a/package/iperf/Makefile b/package/iperf/Makefile index 872edd25e..0eaf30255 100644 --- a/package/iperf/Makefile +++ b/package/iperf/Makefile @@ -15,13 +15,13 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,IPERF,iperf,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); \ $(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 \