Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148894767
Command-Line Input
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
ngie
Fri, Mar 20, 8:22 PM
2026-03-20 20:22:33 (UTC+0)
Size
1000 B
Referenced Files
None
Subscribers
None
Command-Line Input
View Options
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index 738de3479987..9d484e9d480c 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -687,12 +687,6 @@ SUBDIR.${MK_TESTS}= tests
.include <bsd.lib.mk>
-.if ${MACHINE} == "powerpc"
-# Work around "relocation R_PPC_GOT16 out of range" errors
-PICFLAG= -fPIC
-.endif
-PICFLAG+= -DOPENSSL_PIC
-
.if defined(ASM_${MACHINE_CPUARCH})
.PATH: ${SRCTOP}/sys/crypto/openssl/${MACHINE_CPUARCH}
.if defined(ASM_amd64)
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 73c650d590ff..8f22d501e005 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -12,6 +12,9 @@ CFLAGS+= -I${LCRYPTO_SRC}/providers/common/include
CFLAGS+= -I${LCRYPTO_SRC}/providers/fips/include
CFLAGS+= -I${LCRYPTO_SRC}/providers/implementations/include
+PICFLAG= -fPIC
+PICFLAG+= -DOPENSSL_PIC
+
.SUFFIXES: .pc
.PATH.pc: ${LCRYPTO_SRC}/exporters
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30089584
Default Alt Text
Command-Line Input (1000 B)
Attached To
Mode
P706 Command-Line Input
Attached
Detach File
Event Timeline
Log In to Comment