summaryrefslogtreecommitdiffstats
path: root/configure.local.example
diff options
context:
space:
mode:
Diffstat (limited to 'configure.local.example')
-rw-r--r--configure.local.example9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.local.example b/configure.local.example
index 61913d06..ae340842 100644
--- a/configure.local.example
+++ b/configure.local.example
@@ -131,11 +131,18 @@ BINM_SOELIM=msoelim # default is "soelim"
LD_OHASH="-lutil"
-# Some platforms may need additional linker flags that are not autodetected.
+# Some platforms may need additional linker flags to link against libmandoc
+# that are not autodetected.
# For example, Solaris 9 and 10 need -lrt for nanosleep(2).
LDADD="-lrt"
+# Some systems may want to set additional linker flags for all the
+# binaries, not only for those using libmandoc, for example for
+# hardening options.
+
+LDFLAGS="-Wl,-z,relro"
+
# It is possible to change the utility program used for installation
# and the modes files are installed with. The defaults are: