summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-05-14 14:27:31 +0000
committernia <nia@pkgsrc.org>2021-05-14 14:27:31 +0000
commitd4cd8b415bcd66f0e8d38cbc464b50aad36acef7 (patch)
treed0c80c3b8319b86ab5a38868f534006a956094ea
parent01f476ee83c34a9abb9cc011b15c909f0f10c277 (diff)
downloadpkgsrc-d4cd8b415bcd66f0e8d38cbc464b50aad36acef7.tar.gz
pico: honor LDFLAGS
-rw-r--r--editors/pico/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/pico/Makefile b/editors/pico/Makefile
index 6e71be42280..55951366d59 100644
--- a/editors/pico/Makefile
+++ b/editors/pico/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2017/01/19 18:52:08 agc Exp $
+# $NetBSD: Makefile,v 1.80 2021/05/14 14:27:31 nia Exp $
#
# NOTE:
# When updating, it is necessary to change the shlib version, located in
@@ -56,7 +56,7 @@ post-extract:
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
CC="${LIBTOOL} --mode=compile ${CC}" \
- LDCC="${LIBTOOL} --mode=link ${CC}" \
+ LDCC="${LIBTOOL} --mode=link ${CC} ${LDFLAGS}" \
PREFIX=${PREFIX} OPTIMIZE="${CFLAGS}" \
EXTRALDFLAGS="${LIBS}"