X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/3bea8bd663341b6493b01b33911ab6a5a5c35b0a..1117bca160b07ef9a9274ea42777b1e0971fb6c0:/package/rrs/Makefile diff --git a/package/rrs/Makefile b/package/rrs/Makefile index e29636170..0024f513f 100644 --- a/package/rrs/Makefile +++ b/package/rrs/Makefile @@ -1,3 +1,5 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=rrs @@ -17,14 +19,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 +36,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; )