[packages] vncrepeater libc++ fix

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32980 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-08-04 17:02:08 +00:00
parent 3418bbccc4
commit 20ee160ff3

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vncrepeater
PKG_VERSION:=0.12
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.rit.edu/~reh5586/openwrt/packages/vncrepeater/src
@ -17,12 +17,13 @@ PKG_MD5SUM:=5951740a8a103d7d9668558b3639c6c4
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
define Package/vncrepeater
SECTION:=net
CATEGORY:=Network
DEPENDS:=+uclibcxx
DEPENDS:=$(CXX_DEPENDS)
TITLE:=UltraVNC repeater for Linux
URL:=http://www.uvnc.com/addons/repeater.html
endef
@ -42,8 +43,8 @@ endef
define Build/Compile
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lc -luClibc++ -lc $(LIBGCC_S)" \
CC="$(TARGET_CXX)" \
CFLAGS="$(TARGET_CPPFLAGS) -fno-rtti" \
repeater \
)
endef