Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102824277
D40811.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
338 B
Referenced Files
None
Subscribers
None
D40811.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D40811: rdrand_rng: Build with -fPIC on i386 when using GCC.
Attached
Detach File
Event Timeline
Log In to Comment