From 77b42e9485f5fc6da2fa3c08b55b66472cdb4fa1 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 23 Oct 2005 01:29:01 +0000 Subject: build c++ sources without rtti git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2271 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/rrs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/rrs/Makefile') diff --git a/package/rrs/Makefile b/package/rrs/Makefile index 68eaf4c3a..726dd00ae 100644 --- a/package/rrs/Makefile +++ b/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; ) -- cgit v1.2.3