Smartmontools compiles with ulibcxx, so use it instead of libstdcpp

git-svn-id: svn://svn.openwrt.org/openwrt/packages@13102 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2008-11-03 10:00:55 +00:00
parent ef36a8e2b0
commit 2792fab58a

View File

@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/smartmontools
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libstdcpp
DEPENDS:=+uclibcxx
TITLE:=S.M.A.R.T Monitoring Tool
URL:=http://smartmontools.sourceforge.net/
endef
@ -39,6 +39,10 @@ define Build/Configure
(cd $(PKG_BUILD_DIR); ./autogen.sh );
$(call Build/Configure/Default,, \
ac_libc_have_working_snprintf=yes \
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" \
)
endef