Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177855548
D3001.1795437847.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
621 B
Referenced Files
None
Subscribers
None
D3001.1795437847.diff
View Options
Index: share/mk/bsd.lib.mk
===================================================================
--- share/mk/bsd.lib.mk
+++ share/mk/bsd.lib.mk
@@ -58,6 +58,8 @@
CTFFLAGS+= -g
.endif
+LDFLAGS+= -Wl,-z,relro -Wl,-z,now
+
.include <bsd.libnames.mk>
# prefer .s to a .c, add .po, remove stuff not used in the BSD libraries
Index: share/mk/bsd.prog.mk
===================================================================
--- share/mk/bsd.prog.mk
+++ share/mk/bsd.prog.mk
@@ -11,6 +11,8 @@
CFLAGS+=${COPTS}
.endif
+LDFLAGS+= -Wl,-z,relro -Wl,-z,now
+
.if ${MK_ASSERT_DEBUG} == "no"
CFLAGS+= -DNDEBUG
NO_WERROR=
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 12:44 PM (13 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41931370
Default Alt Text
D3001.1795437847.diff (621 B)
Attached To
Mode
D3001: Activate relro and bindnow in build system
Attached
Detach File
Event Timeline