diff options
author | grant <grant> | 2003-04-15 05:29:45 +0000 |
---|---|---|
committer | grant <grant> | 2003-04-15 05:29:45 +0000 |
commit | 99af2559c0b757d2cf7945615fca80afa686cd20 (patch) | |
tree | 997bc471ba82fb645edc834621b9bbb6e8c2737d /mk/defs.IRIX.mk | |
parent | fb39a3ee11834be5abd12f0b46e3da07b743d442 (diff) | |
download | pkgsrc-99af2559c0b757d2cf7945615fca80afa686cd20.tar.gz |
add OPSYS_{,NO_}WHOLE_ARCHIVE_FLAG which defines the argument passed
to the linker to (not) extract all symbols from static archives and
export these variables to packages as {,NO_}WHOLE_ARCHIVE_FLAG.
these are not currently set for IRIX.
Diffstat (limited to 'mk/defs.IRIX.mk')
-rw-r--r-- | mk/defs.IRIX.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/defs.IRIX.mk b/mk/defs.IRIX.mk index 4c49122a6da..7b543c14684 100644 --- a/mk/defs.IRIX.mk +++ b/mk/defs.IRIX.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.IRIX.mk,v 1.23 2003/03/29 17:40:40 jschauma Exp $ +# $NetBSD: defs.IRIX.mk,v 1.24 2003/04/15 05:29:47 grant Exp $ # # Variable definitions for the IRIX operating system. @@ -122,6 +122,11 @@ _PREFORMATTED_MAN_DIR= man # directory where catman pages are _USE_GNU_GETTEXT= no # Don't use GNU gettext _USE_RPATH= yes # add rpath to LDFLAGS +# flags passed to the linker to extract all symbols from static archives. +# XXX values for IRIX absent! +#_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive +#_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive + .if !defined(DEBUG_FLAGS) _STRIPFLAG_CC?= -s # cc(1) option to strip _STRIPFLAG_INSTALL?= -s # install(1) option to strip |