Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149223027
D3001.1789699022.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
621 B
Referenced Files
None
Subscribers
None
D3001.1789699022.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
Fri, Sep 18, 2:37 AM (8 h, 35 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29746464
Default Alt Text
D3001.1789699022.diff (621 B)
Attached To
Mode
D3001: Activate relro and bindnow in build system
Attached
Detach File
Event Timeline
Log In to Comment