summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-07-10 15:40:52 +0000
committerjperkin <jperkin@pkgsrc.org>2021-07-10 15:40:52 +0000
commit67a7fd802eee8babff6d1141d8fa550fedd53736 (patch)
treef8ed7ec8edeb5476065015d3435b98c2255b2d4c
parent7a40d4915ac34bcb6aa33c3b180f256e3fa0445a (diff)
downloadpkgsrc-67a7fd802eee8babff6d1141d8fa550fedd53736.tar.gz
openssl: Stop passing CFLAGS/LDFLAGS to configure.
If this ever worked it only did by accident. Specifying, for example, "-arch arm64" as used on macOS is enough to break its custom configure script that assumes all arguments start with "-". The flags seem to propogate through the environment normally.
-rw-r--r--security/openssl/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index af001ad1329..8c8341abe2d 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.272 2021/07/09 18:22:56 schmonz Exp $
+# $NetBSD: Makefile,v 1.273 2021/07/10 15:40:52 jperkin Exp $
# Remember to upload-distfiles when updating OpenSSL -- otherwise it
# is not possible for users who have bootstrapped without OpenSSL
@@ -40,7 +40,6 @@ CONFIGURE_ENV+= KERNEL_BITS=${ABI}
.include "options.mk"
-CONFIGURE_ARGS+= ${CFLAGS} ${LDFLAGS}
CONFIGURE_ENV+= PERL=${PERL5:Q}
# If the config script cannot guess the host system correctly then we need to