diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-10 18:24:23 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-10 18:24:23 +0000 |
commit | 14a91bd036b9d74a181c3317f67a585826a8fa10 (patch) | |
tree | 4ab4c423e06f562ad78a2b7c334798b96652eed0 /configure.local.example | |
parent | 5527a73ef7a800410492cccac7677654f316291f (diff) | |
download | mandoc-14a91bd036b9d74a181c3317f67a585826a8fa10.tar.gz mandoc-14a91bd036b9d74a181c3317f67a585826a8fa10.tar.zst mandoc-14a91bd036b9d74a181c3317f67a585826a8fa10.zip |
support LDFLAGS;
suggested by Christian Neukirchen <chneukirchen at gmail dot com>
Diffstat (limited to 'configure.local.example')
-rw-r--r-- | configure.local.example | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.local.example b/configure.local.example index c15531b0..93e1c339 100644 --- a/configure.local.example +++ b/configure.local.example @@ -1,4 +1,4 @@ -# $Id: configure.local.example,v 1.11 2016/05/18 21:37:04 schwarze Exp $ +# $Id: configure.local.example,v 1.12 2016/07/10 18:24:23 schwarze Exp $ # # Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org> # @@ -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: |