libsigc++ can also be linked with uClibc++
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13112 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -25,7 +25,7 @@ define Package/libsigcxx
|
|||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=typesafe callback system for standard C++
|
TITLE:=typesafe callback system for standard C++
|
||||||
URL:=http://libsigc++.sourceforge.net/
|
URL:=http://libsigc++.sourceforge.net/
|
||||||
DEPENDS:=+libstdcpp
|
DEPENDS:=+uclibcxx
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libsigcxx/description
|
define Package/libsigcxx/description
|
||||||
@ -41,7 +41,10 @@ CONFIGURE_ARGS += \
|
|||||||
--enable-static \
|
--enable-static \
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
|
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
|
||||||
|
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++ -I$(LINUX_DIR)/include" \
|
||||||
|
LDFLAGS="$$$$LDFLAGS" \
|
||||||
|
LIBS="-nodefaultlibs -luClibc++ -lm -lgcc" \
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
Reference in New Issue
Block a user