From 67b918e03475e780854a43fe4eb7c8e95f4deb29 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Fri, 20 Mar 2026 13:08:09 -0700 Subject: [PATCH] Revert "libcrypto: compile all PIC objects with -DOPENSSL_PIC" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 c2d25269762..64fb57ee74c 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