diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-18 23:49:44 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-18 23:49:44 +0000 |
commit | ea5e7c8c6d0af8ad2b02bd18368f8ffd5efcc10e (patch) | |
tree | 0f64bbe0abf4b70779a71a1568c0a108d4eb2563 /mk | |
parent | b38b0580dc1ffcbba3ae9a33f82b17ac4227ae31 (diff) | |
download | pkgsrc-ea5e7c8c6d0af8ad2b02bd18368f8ffd5efcc10e.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 |