From 7361c46074a492fc27ff9f38ef7d41667b34f0ec Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 23 Oct 2005 01:29:01 +0000 Subject: build c++ sources without rtti git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2271 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/gpsd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openwrt/package/gpsd/Makefile') diff --git a/openwrt/package/gpsd/Makefile b/openwrt/package/gpsd/Makefile index 2161fb75e..43fad851c 100644 --- a/openwrt/package/gpsd/Makefile +++ b/openwrt/package/gpsd/Makefile @@ -22,10 +22,10 @@ $(PKG_BUILD_DIR)/.configured: ( cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \ $(TARGET_CONFIGURE_OPTS) \ 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 -lnotimpl" \ + LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + LIBS="-luClibc++ -lc -lm -lnotimpl" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ -- cgit v1.2.3