From: Alexander Ryzhov Date: Fri, 25 Sep 2015 14:04:54 +0000 (-0400) Subject: smstools3: fix CFLAGS and LFLAGS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8651f924a8dcbd52d09b8435bc320a642f8ef5b9;p=feed%2Fpackages.git smstools3: fix CFLAGS and LFLAGS Signed-off-by: Alexander Ryzhov --- diff --git a/utils/smstools3/Makefile b/utils/smstools3/Makefile index 0c7dd2cf55..d2499a7563 100644 --- a/utils/smstools3/Makefile +++ b/utils/smstools3/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=smstools3 PKG_VERSION:=3.1.15 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Gérald Kerma PKG_LICENSE:=GPL-2.0 @@ -50,11 +50,11 @@ TARGET_LDFLAGS += -liconv BINDIR=/usr/local/bin define Build/Compile - $(MAKE) -C "$(PKG_BUILD_DIR)"/src \ + $(MAKE) -C "$(PKG_BUILD_DIR)/src" \ CC="$(TARGET_CC)" \ - USER_CFLAGS='$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS) \ + CFLAGS='$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS) \ -I"$(STAGING_DIR)/usr/lib/libiconv-full/include"' \ - USER_LDFLAGS='$(TARGET_LFLAGS) $(EXTRA_LDFLAGS) -L"$(STAGING_DIR)/usr/lib/libiconv-full/lib"' \ + LFLAGS='$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) -L"$(STAGING_DIR)/usr/lib/libiconv-full/lib"' \ all endef