Browse Source

Merge pull request #1806 from ryzhovau/smstools3-compile-flags

smstools3: fix CFLAGS and LFLAGS
lilik-openwrt-22.03
Steven Barth 9 years ago
parent
commit
72d9e6678d
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
PKG_NAME:=smstools3 PKG_NAME:=smstools3
PKG_VERSION:=3.1.15 PKG_VERSION:=3.1.15
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Gérald Kerma <dreagle@doukki.net> PKG_MAINTAINER:=Gérald Kerma <dreagle@doukki.net>
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
@ -50,11 +50,11 @@ TARGET_LDFLAGS += -liconv
BINDIR=/usr/local/bin BINDIR=/usr/local/bin
define Build/Compile define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)"/src \
$(MAKE) -C "$(PKG_BUILD_DIR)/src" \
CC="$(TARGET_CC)" \ 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"' \ -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 all
endef endef


Loading…
Cancel
Save