summaryrefslogtreecommitdiff
path: root/openwrt/package/gpsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/gpsd/Makefile')
-rw-r--r--openwrt/package/gpsd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/package/gpsd/Makefile b/openwrt/package/gpsd/Makefile
index 2161fb75ed..43fad851cf 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) \