Date: Sat, 25 Apr 2026 16:08:11 +0000 From: Enji Cooper <ngie@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 9725e00dcfdc - stable/15 - OpenSSL: move `-DOPENSSL_PIC` from `PIC_FLAG` to `SHARED_CFLAGS` Message-ID: <69ece6eb.4232e.529daf83@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=9725e00dcfdcf09d4c8720c3e8e00adb263ed08c commit 9725e00dcfdcf09d4c8720c3e8e00adb263ed08c Author: Enji Cooper <ngie@FreeBSD.org> AuthorDate: 2026-04-21 23:46:19 +0000 Commit: Enji Cooper <ngie@FreeBSD.org> CommitDate: 2026-04-25 16:07:56 +0000 OpenSSL: move `-DOPENSSL_PIC` from `PIC_FLAG` to `SHARED_CFLAGS` `PIC_FLAG` should be used strictly for `-fPIC`, `-fpic`, etc, options. `SHARED_CFLAGS` is the more appropriate place to this flag to be set. Requested by: jrtc27 MFC after: 3 days MFC with: 3797fe720a (cherry picked from commit 48d6db4932c8ec04ca3df79119803f8c7c1570d7) --- secure/lib/libcrypto/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc index 8f22d501e005..85e2c0813b79 100644 --- a/secure/lib/libcrypto/Makefile.inc +++ b/secure/lib/libcrypto/Makefile.inc @@ -13,7 +13,7 @@ CFLAGS+= -I${LCRYPTO_SRC}/providers/fips/include CFLAGS+= -I${LCRYPTO_SRC}/providers/implementations/include PICFLAG= -fPIC -PICFLAG+= -DOPENSSL_PIC +SHARED_CFLAGS+= -DOPENSSL_PIC .SUFFIXES: .pc .PATH.pc: ${LCRYPTO_SRC}/exportershome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ece6eb.4232e.529daf83>
