From de305e951e204c2069ee9844d579a10d28694163 Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 26 Jul 2008 22:32:55 +0000 Subject: [PATCH] remove "-fno-rtti" c++ compiler flag preventing dynamic_cast use (closes: #3731) git-svn-id: svn://svn.openwrt.org/openwrt/packages@11950 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libtorrent/Makefile | 5 +---- net/rtorrent/Makefile | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/libs/libtorrent/Makefile b/libs/libtorrent/Makefile index 5de032302..2bc9f7101 100644 --- a/libs/libtorrent/Makefile +++ b/libs/libtorrent/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libtorrent PKG_VERSION:=0.11.9 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://libtorrent.rakshasa.no/downloads/ @@ -44,9 +44,6 @@ CONFIGURE_ARGS+= \ --disable-debug \ --enable-openssl \ -CONFIGURE_VARS += \ - CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \ - define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \ diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile index cdcf604c9..2c411a566 100644 --- a/net/rtorrent/Makefile +++ b/net/rtorrent/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtorrent PKG_VERSION:=0.7.9 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://libtorrent.rakshasa.no/downloads/ @@ -42,7 +42,6 @@ CONFIGURE_ARGS+= \ --disable-debug \ CONFIGURE_VARS += \ - CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \ LIBS="-lm" \ define Build/Compile -- 2.11.0