summaryrefslogtreecommitdiffstats
path: root/openwrt/package/rrs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/rrs/Makefile')
-rw-r--r--openwrt/package/rrs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/rrs/Makefile b/openwrt/package/rrs/Makefile
index 68eaf4c3a..726dd00ae 100644
--- a/openwrt/package/rrs/Makefile
+++ b/openwrt/package/rrs/Makefile
@@ -24,7 +24,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
ifneq ($(BR2_PACKAGE_RRS),)
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
- CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -nostdinc++" \
+ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -fno-rtti -nostdinc++" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++ -lc -lm -lutil -lssl -lcrypto" \
generic
( cd $(PKG_BUILD_DIR); mv rrs rrs-ssl; )
@@ -34,7 +34,7 @@ endif
ifneq ($(BR2_PACKAGE_RRS_NOSSL),)
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
- CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -nostdinc++" \
+ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -fno-rtti -nostdinc++" \
LDFLAGSNOSSL="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++ -lc -lm -lutil" \
generic-nossl
( cd $(PKG_BUILD_DIR); mv rrs rrs-nossl; )