diff options
author | rillig <rillig> | 2007-02-18 23:49:44 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-02-18 23:49:44 +0000 |
commit | b086363a79b29abebf08246cf50f555e3a1620ed (patch) | |
tree | 0f64bbe0abf4b70779a71a1568c0a108d4eb2563 /mk | |
parent | 2a957d58c95e4aca9000c01c1463fe8f07757cc1 (diff) | |
download | pkgsrc-b086363a79b29abebf08246cf50f555e3a1620ed.tar.gz |
Documented WRAPPER_REORDER_CMDS.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/bsd.wrapper.mk | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/mk/wrapper/bsd.wrapper.mk b/mk/wrapper/bsd.wrapper.mk index 7137d75f729..f26c9a5e5d7 100644 --- a/mk/wrapper/bsd.wrapper.mk +++ b/mk/wrapper/bsd.wrapper.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.wrapper.mk,v 1.63 2007/02/06 20:33:50 rillig Exp $ +# $NetBSD: bsd.wrapper.mk,v 1.64 2007/02/18 23:49:44 rillig Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -34,6 +34,19 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. +# Package-settable variables: +# +# WRAPPER_REORDER_CMDS +# A list of library reordering specifications to make sure that the +# linker sees the libraries in the correct order. +# +# Each of the specifications has the form reorder:l:foo:bar, which +# means that -lfoo will always come before -lbar in the linker +# command line. +# +# Keywords: libs order reorder wrapper +# + .include "../../mk/wrapper/wrapper-defs.mk" # pkgsrc bmake does not (yet) correctly handle ${VAR} > 0 because @@ -82,7 +95,7 @@ MAKE_ENV+= WRAPPER_UPDATE_CACHE=${WRAPPER_UPDATE_CACHE:Q} # Only do the (expensive) reordering step if we have reordering # transformations. -# + WRAPPER_REORDER_CMDS?= # empty .if !empty(WRAPPER_REORDER_CMDS) MAKE_ENV+= WRAPPER_REORDER=yes |