fcgi: replace cflags based uclibc++ hacks with using the g++-uc wrapper - fixes false uClibc++ dependency for libfcgi

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32203 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-06-11 20:33:35 +00:00
parent 67ba084ce2
commit 667ab6e677

View File

@ -36,7 +36,7 @@ endef
define Package/fcgixx define Package/fcgixx
$(call Package/fcgi/Default) $(call Package/fcgi/Default)
DEPENDS:=fcgi +USE_UCLIBC:uclibcxx DEPENDS:=fcgi +uclibcxx
TITLE:=Shared library of FastCGI++ TITLE:=Shared library of FastCGI++
endef endef
@ -46,6 +46,7 @@ define Package/fcgi/description
server specific APIs. server specific APIs.
endef endef
TARGET_CXX=g++-uc
TARGET_CFLAGS += $(FPIC) TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
@ -53,9 +54,7 @@ CONFIGURE_ARGS += \
--enable-static \ --enable-static \
CONFIGURE_VARS += \ CONFIGURE_VARS += \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \ LIBS="-lm" \
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -lc -luClibc++ -lm" \
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include