Page MenuHomeFreeBSD

D40811.diff
No OneTemporary

D40811.diff

diff --git a/sys/modules/rdrand_rng/Makefile b/sys/modules/rdrand_rng/Makefile
--- a/sys/modules/rdrand_rng/Makefile
+++ b/sys/modules/rdrand_rng/Makefile
@@ -8,4 +8,9 @@
CFLAGS+= -I${SRCTOP}/sys
+# ld.bfd doesn't support ifuncs invoked non-PIC
+.if ${MACHINE_CPUARCH} == "i386"
+CFLAGS.gcc= -fPIC
+.endif
+
.include <bsd.kmod.mk>

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 4:17 PM (21 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14700593
Default Alt Text
D40811.diff (338 B)

Event Timeline