From e87879a0d9840fcb4a72405acb5d0b89a506cfa8 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 3 Nov 2008 21:33:07 +0000 Subject: [PATCH] libsigc++ can also be linked with uClibc++ SVN-Revision: 13112 --- libs/libsigc++/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/libsigc++/Makefile b/libs/libsigc++/Makefile index 4c04c980fe..9e5d134bd6 100644 --- a/libs/libsigc++/Makefile +++ b/libs/libsigc++/Makefile @@ -25,7 +25,7 @@ define Package/libsigcxx CATEGORY:=Libraries TITLE:=typesafe callback system for standard C++ URL:=http://libsigc++.sourceforge.net/ - DEPENDS:=+libstdcpp + DEPENDS:=+uclibcxx endef define Package/libsigcxx/description @@ -41,7 +41,10 @@ CONFIGURE_ARGS += \ --enable-static \ 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 $(MAKE) -C $(PKG_BUILD_DIR) \ -- 2.30.2