aboutsummaryrefslogtreecommitdiff
path: root/utils/smartmontools
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-02-22 20:58:58 -0800
committerRosen Penev <rosenp@gmail.com>2021-03-05 15:07:46 -0800
commit39bc254663c6a5d54ff959366aba28f6ab9d7c4c (patch)
treec45c55e5b22363e7deb6693808bdcc99cfaab46a /utils/smartmontools
parentf2d7f216a4ec25554674348d21bbafc5308a6f2f (diff)
treewide: remove uClibc++ support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/smartmontools')
-rw-r--r--utils/smartmontools/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/utils/smartmontools/Makefile b/utils/smartmontools/Makefile
index bd1b97473..6a5198eb2 100644
--- a/utils/smartmontools/Makefile
+++ b/utils/smartmontools/Makefile
@@ -6,11 +6,10 @@
#
include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/uclibc++.mk
PKG_NAME:=smartmontools
PKG_VERSION:=7.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/smartmontools
@@ -34,7 +33,7 @@ endef
define Package/smartmontools
$(call Package/smartmontools/Default)
- DEPENDS:=$(CXX_DEPENDS)
+ DEPENDS:=+libstdcpp
TITLE+= Tool
endef
@@ -47,7 +46,7 @@ endef
define Package/smartd
$(call Package/smartmontools/Default)
- DEPENDS:=$(CXX_DEPENDS)
+ DEPENDS:=+libstdcpp
TITLE+= Daemon
endef
@@ -79,11 +78,6 @@ define Package/smartd-mail/description
A script for mailing about SMART issues
endef
-ifeq ($(CONFIG_USE_UCLIBCXX),y)
-TARGET_LDFLAGS +=-nodefaultlibs
-else
-CONFIGURE_VARS += with_cxx11_regex=yes
-endif
TARGET_LDFLAGS += -flto
TARGET_CXXFLAGS +=-fno-rtti -flto
@@ -97,6 +91,7 @@ CONFIGURE_ARGS += \
#lower file size vs. CONFIGURE_ARGS
CONFIGURE_VARS += \
+ with_cxx11_regex=yes \
with_smartdplugindir=no \
with_systemdenvfile=no \
with_systemdsystemunitdir=no \