diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-23 01:29:01 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-23 01:29:01 +0000 |
commit | 7361c46074a492fc27ff9f38ef7d41667b34f0ec (patch) | |
tree | 1d4638a5c5d98673d906a4252d5d14d432e8af09 /openwrt/package/rrs | |
parent | 1418a689b09ba101b19c94af88246f50a6dd1753 (diff) |
build c++ sources without rtti
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2271 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/rrs')
-rw-r--r-- | openwrt/package/rrs/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/rrs/Makefile b/openwrt/package/rrs/Makefile index 68eaf4c3ac..726dd00ae2 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; ) |