X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a222a16893d3553cc4791edfdb8629659e47de39..45b2fe29feb19bafa492e4add51b0e423f71a670:/openwrt/package/rrs/Makefile diff --git a/openwrt/package/rrs/Makefile b/openwrt/package/rrs/Makefile index e29636170..726dd00ae 100644 --- a/openwrt/package/rrs/Makefile +++ b/openwrt/package/rrs/Makefile @@ -17,14 +17,14 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,RRS,rrs,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,RRS_NOSSL,rrs-nossl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: touch $@ -$(PKG_BUILD_DIR)/.built: +$(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; )