From 8651f924a8dcbd52d09b8435bc320a642f8ef5b9 Mon Sep 17 00:00:00 2001 From: Alexander Ryzhov Date: Fri, 25 Sep 2015 10:04:54 -0400 Subject: [PATCH] smstools3: fix CFLAGS and LFLAGS Signed-off-by: Alexander Ryzhov --- utils/smstools3/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2