Browse Source

Merge pull request #13015 from neheb/sms2

smstools3: fix compilation with GCC10
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
ab95db45d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/smstools3/Makefile

+ 2
- 1
utils/smstools3/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=smstools3 PKG_NAME:=smstools3
PKG_VERSION:=3.1.21 PKG_VERSION:=3.1.21
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://smstools3.kekekasvi.com/packages/ PKG_SOURCE_URL:=http://smstools3.kekekasvi.com/packages/
@ -43,6 +43,7 @@ TARGET_CFLAGS += $(if $(ICONV_FULL),-D USE_ICONV)
TARGET_CFLAGS += -D DISABLE_INET_SOCKET TARGET_CFLAGS += -D DISABLE_INET_SOCKET
TARGET_CFLAGS += -W -Wall TARGET_CFLAGS += -W -Wall
TARGET_CFLAGS += -D_FILE_OFFSET_BITS=64 TARGET_CFLAGS += -D_FILE_OFFSET_BITS=64
TARGET_CFLAGS += -fcommon
MAKE_VARS += LFLAGS="$(TARGET_LDFLAGS) $(if $(ICONV_FULL),-liconv)" MAKE_VARS += LFLAGS="$(TARGET_LDFLAGS) $(if $(ICONV_FULL),-liconv)"


Loading…
Cancel
Save