gkermit: use LDFLAGS

This commit is contained in:
Leonid Pliushch 2020-08-09 22:26:03 +03:00
parent 0904557ae4
commit a222457a36
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://www.columbia.edu/kermit/gkermit.html
TERMUX_PKG_DESCRIPTION="Simple, Portable, Free File Transfer Software for UNIX"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1.00
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://ftp.nluug.nl/pub/networking/kermit/archives/gku${TERMUX_PKG_VERSION/./}.tar.gz
TERMUX_PKG_SHA256=3dbe63291277c4795255343b48b860777fb0a160163d7e1d30b1ee68585593eb
TERMUX_PKG_DEPENDS="libandroid-support"

View File

@ -42,7 +42,7 @@
gkermit: gproto.o gkermit.o gunixio.o gcmdline.o
- $(CC) -o gkermit $(OBJECTS)
+ $(CC) -o gkermit -v -landroid-support \
+ $(CC) -o gkermit -v $(LDFLAGS) -landroid-support \
+ -L$(prefix)/lib -fPIE -pie $(OBJECTS)
bsd: gwart