summaryrefslogtreecommitdiffstats
path: root/openwrt/package/iperf
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-23 01:29:01 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-23 01:29:01 +0000
commit7361c46074a492fc27ff9f38ef7d41667b34f0ec (patch)
tree1d4638a5c5d98673d906a4252d5d14d432e8af09 /openwrt/package/iperf
parent1418a689b09ba101b19c94af88246f50a6dd1753 (diff)
build c++ sources without rtti
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2271 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 a4816a629..0eaf30255 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 \