diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2026-04-21 23:46:19 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-04-22 20:34:25 +0000 |
| commit | 48d6db4932c8ec04ca3df79119803f8c7c1570d7 (patch) | |
| tree | 0554fa12b673b753804f24d8b67751697b902573 | |
| parent | 81abe47cd5cd0e15813fc53b18a6cd744ceefa9e (diff) | |
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
| -rw-r--r-- | secure/lib/libcrypto/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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}/exporters |
