Page MenuHomeFreeBSD

libcrypto: compile all PIC objects with -DOPENSSL_PIC
Needs ReviewPublic

Authored by ngie on Apr 21 2024, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 29, 11:35 PM
Unknown Object (File)
Nov 27 2025, 1:35 AM
Unknown Object (File)
Nov 24 2025, 11:01 PM
Unknown Object (File)
Nov 1 2025, 7:05 PM
Unknown Object (File)
Oct 29 2025, 7:41 AM
Unknown Object (File)
Oct 25 2025, 3:53 AM
Unknown Object (File)
Oct 20 2025, 4:39 PM
Unknown Object (File)
Oct 20 2025, 4:39 PM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This change modifies the libcrypto PIC objects to always link with
-DOPENSSL_PIC to restore parity with the upstream build process. This
ensures that -DOPENSSL_PIC is used whenever building the auxiliary
shared objects, e.g., the fips provider, the legacy provider, etc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 57262
Build 54150: arc lint + arc unit

Event Timeline

ngie requested review of this revision.Apr 21 2024, 5:45 PM

Fix the change to properly append the CFLAG to PICFLAG and do it after including bsd.lib.mk to properly compile/link libcrypto.so.