smstools3: fix CFLAGS and LFLAGS 1806/head
authorAlexander Ryzhov <gtihub@ryzhov-al.ru>
Fri, 25 Sep 2015 14:04:54 +0000 (10:04 -0400)
committerAlexander Ryzhov <gtihub@ryzhov-al.ru>
Fri, 25 Sep 2015 14:04:54 +0000 (10:04 -0400)
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
utils/smstools3/Makefile

index 0c7dd2cf555c95b001b5caded76000061023811f..d2499a756370cf061a0cc5aef59f68d7dfefb409 100644 (file)
@@ -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 <dreagle@doukki.net>
 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