summaryrefslogtreecommitdiff
path: root/openwrt/package/iperf
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-23 01:29:01 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-23 01:29:01 +0000
commit650cb6dc83eb1cc7d429ea9e557ebc857f5c9387 (patch)
tree4a9c268cf4e8d0b68f5ac5fd9bb5cf2489872dd3 /openwrt/package/iperf
parent48bd032248fdc8781442e370b384070b1767a7ef (diff)
downloadmtk-20170518-650cb6dc83eb1cc7d429ea9e557ebc857f5c9387.zip
mtk-20170518-650cb6dc83eb1cc7d429ea9e557ebc857f5c9387.tar.gz
mtk-20170518-650cb6dc83eb1cc7d429ea9e557ebc857f5c9387.tar.bz2
build c++ sources without rtti
SVN-Revision: 2271
Diffstat (limited to 'openwrt/package/iperf')
-rw-r--r--openwrt/package/iperf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/iperf/Makefile b/openwrt/package/iperf/Makefile
index a4816a6..0eaf302 100644
--- a/openwrt/package/iperf/Makefile
+++ b/openwrt/package/iperf/Makefile
@@ -20,8 +20,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 \