Browse Source

smstools3: fix CFLAGS and LFLAGS

Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
Alexander Ryzhov 9 years ago
parent
commit
8651f924a8
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      utils/smstools3/Makefile

+ 4
- 4
utils/smstools3/Makefile View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
9 9
 
10 10
 PKG_NAME:=smstools3
11 11
 PKG_VERSION:=3.1.15
12
-PKG_RELEASE:=1
12
+PKG_RELEASE:=2
13 13
 
14 14
 PKG_MAINTAINER:=Gérald Kerma <dreagle@doukki.net>
15 15
 PKG_LICENSE:=GPL-2.0
@@ -50,11 +50,11 @@ TARGET_LDFLAGS += -liconv
50 50
 BINDIR=/usr/local/bin
51 51
 
52 52
 define Build/Compile
53
-	$(MAKE) -C "$(PKG_BUILD_DIR)"/src \
53
+	$(MAKE) -C "$(PKG_BUILD_DIR)/src" \
54 54
 		CC="$(TARGET_CC)" \
55
-		USER_CFLAGS='$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS) \
55
+		CFLAGS='$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS) \
56 56
 		-I"$(STAGING_DIR)/usr/lib/libiconv-full/include"' \
57
-		USER_LDFLAGS='$(TARGET_LFLAGS) $(EXTRA_LDFLAGS) -L"$(STAGING_DIR)/usr/lib/libiconv-full/lib"' \
57
+		LFLAGS='$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) -L"$(STAGING_DIR)/usr/lib/libiconv-full/lib"' \
58 58
 		all
59 59
 endef
60 60