diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-10-27 10:31:05 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-10-27 10:31:05 +0000 |
commit | b0a6ec0b90687a42a03f796596ef58b6e0b1a84d (patch) | |
tree | 1b53197d23a75acfa40b64749be8e9cff790c16c /mk/platform/Linux.mk | |
parent | e6d1c9d7980f3f89c85fb57707b79a306a28651d (diff) | |
download | pkgsrc-b0a6ec0b90687a42a03f796596ef58b6e0b1a84d.tar.gz |
Add support for enabling cwrappers automatically. USE_CWRAPPERS now defaults
to "auto", which will enable cwrappers if the _OPSYS_SUPPORTS_CWRAPPERS
platform variable is set to "yes".
Switch over to cwrappers by default for Darwin, Linux, and SunOS (except when
using the sunpro compiler).
Diffstat (limited to 'mk/platform/Linux.mk')
-rw-r--r-- | mk/platform/Linux.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 3e1348fda55..26bfca9aa4d 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.68 2016/09/17 05:41:37 richard Exp $ +# $NetBSD: Linux.mk,v 1.69 2016/10/27 10:31:06 jperkin Exp $ # # Variable definitions for the Linux operating system. @@ -104,6 +104,8 @@ _USE_RPATH= yes # add rpath to LDFLAGS _STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip _STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip +_OPSYS_SUPPORTS_CWRAPPERS= yes + _OPSYS_CAN_CHECK_SHLIBS= yes # use readelf in check/bsd.check-vars.mk # check for maximum command line length and set it in configure's environment, |