summaryrefslogtreecommitdiff
path: root/package/gpsd
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
commit77b42e9485f5fc6da2fa3c08b55b66472cdb4fa1 (patch)
tree83edc5498ee98c1daa5a6004ba12e88480bcf24e /package/gpsd
parent04de47b88a03b4e38703e307498163bfcf0d3cca (diff)
build c++ sources without rtti
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2271 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/gpsd')
-rw-r--r--package/gpsd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile
index 2161fb75ed..43fad851cf 100644
--- a/package/gpsd/Makefile
+++ b/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) \