diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-04-15 14:07:54 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-04-15 14:07:54 +0000 |
commit | 195158502c444a0f30d093ebc43bfab93f2ee8d0 (patch) | |
tree | fa74fe7643d355f8638ea8edb369d4391099e5a3 /mk | |
parent | 1957e3bcb2182aa83182ce5bf5e0647625d446a4 (diff) | |
download | pkgsrc-195158502c444a0f30d093ebc43bfab93f2ee8d0.tar.gz |
IRIX' ld uses "-all" and "-notall" for WHOLE_ARCHIVE_FLAGs.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.IRIX.mk | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/defs.IRIX.mk b/mk/defs.IRIX.mk index 7b543c14684..1412bf360e1 100644 --- a/mk/defs.IRIX.mk +++ b/mk/defs.IRIX.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.IRIX.mk,v 1.24 2003/04/15 05:29:47 grant Exp $ +# $NetBSD: defs.IRIX.mk,v 1.25 2003/04/15 14:07:54 jschauma Exp $ # # Variable definitions for the IRIX operating system. @@ -123,9 +123,12 @@ _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 +# XXX: +# These flags are for the IRIX linker. If GNU ld is used, these would need +# to be set to --{no-}whole-archive. So, ugh, let's say we only do +# IRIX tools for the time being. +_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,-all +_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,-notall .if !defined(DEBUG_FLAGS) _STRIPFLAG_CC?= -s # cc(1) option to strip |