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
This commit is contained in:
parent
f1fc8f8910
commit
de305e951e
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libtorrent
|
PKG_NAME:=libtorrent
|
||||||
PKG_VERSION:=0.11.9
|
PKG_VERSION:=0.11.9
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://libtorrent.rakshasa.no/downloads/
|
PKG_SOURCE_URL:=http://libtorrent.rakshasa.no/downloads/
|
||||||
@ -44,9 +44,6 @@ CONFIGURE_ARGS+= \
|
|||||||
--disable-debug \
|
--disable-debug \
|
||||||
--enable-openssl \
|
--enable-openssl \
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
|
||||||
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=rtorrent
|
PKG_NAME:=rtorrent
|
||||||
PKG_VERSION:=0.7.9
|
PKG_VERSION:=0.7.9
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://libtorrent.rakshasa.no/downloads/
|
PKG_SOURCE_URL:=http://libtorrent.rakshasa.no/downloads/
|
||||||
@ -42,7 +42,6 @@ CONFIGURE_ARGS+= \
|
|||||||
--disable-debug \
|
--disable-debug \
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
|
|
||||||
LIBS="-lm" \
|
LIBS="-lm" \
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user