git: 67b918e03475 - main - Revert "libcrypto: compile all PIC objects with -DOPENSSL_PIC"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Mar 2026 20:12:37 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=67b918e03475e780854a43fe4eb7c8e95f4deb29
commit 67b918e03475e780854a43fe4eb7c8e95f4deb29
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-03-20 20:08:09 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-03-20 20:12:26 +0000
Revert "libcrypto: compile all PIC objects with -DOPENSSL_PIC"
This commit broke the build with some build options.
Some validation needs to be done to confirm that moving the preprocessor
argument to `secure/lib/libcrypto/Makefile.inc` works without breaking
the build, but revert for now until a `tinderbox` run can be done with
the change.
PR: 293934
Reported by: Jenkins, Trond Endrestøl
This reverts commit 14b9955e57cc28b61e785165b9effcbe620edb46.
---
secure/lib/libcrypto/modules/Makefile.inc | 2 --
1 file changed, 2 deletions(-)
diff --git a/secure/lib/libcrypto/modules/Makefile.inc b/secure/lib/libcrypto/modules/Makefile.inc
index c2d25269762d..64fb57ee74c5 100644
--- a/secure/lib/libcrypto/modules/Makefile.inc
+++ b/secure/lib/libcrypto/modules/Makefile.inc
@@ -4,8 +4,6 @@ SHLIBDIR= ${LIBDIR}/ossl-modules
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
-PICFLAG+= -DOPENSSL_PIC
-
CFLAGS+= -I${LCRYPTO_SRC}
CFLAGS+= -I${LCRYPTO_SRC}/include
CFLAGS+= -I${LCRYPTO_SRC}/providers/common/include