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.SunOS.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.SunOS.mk')
-rw-r--r-- | mk/defs.SunOS.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index 2abe1be78ef..784bca900c9 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.59 2003/04/10 01:39:52 grant Exp $ +# $NetBSD: defs.SunOS.mk,v 1.60 2003/04/15 05:29:47 grant Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -135,6 +135,12 @@ _PREFORMATTED_MAN_DIR= man # directory where catman pages are _USE_GNU_GETTEXT= yes # Use GNU gettext _USE_RPATH= yes # add rpath to LDFLAGS +# flags passed to the linker to extract all symbols from static archives. +# this is the standard Solaris linker, /usr/ccs/bin/ld. The use of GNU +# ld is not currently supported. +_OPSYS_WHOLE_ARCHIVE_FLAG= -z allextract +_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -z defaultextract + # Solaris has /usr/include/iconv.h, but it's not GNU iconv, so mark it # incompatible. _INCOMPAT_ICONV= SunOS-*-* |