diff options
author | maya <maya@pkgsrc.org> | 2017-08-07 23:54:09 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2017-08-07 23:54:09 +0000 |
commit | d5ae4c5bce3652b87aa4c282cf49e8d772dcac9c (patch) | |
tree | 2420d93f14ecb02932fc6302208a3097988463e8 /mk/platform | |
parent | 975abe07263a81ab9045c5a4e1a3d26a9ae71bf8 (diff) | |
download | pkgsrc-d5ae4c5bce3652b87aa4c282cf49e8d772dcac9c.tar.gz |
Remove hack working around NetBSD 1.5's specfiles.
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/NetBSD.mk | 8 | ||||
-rw-r--r-- | mk/platform/README | 4 |
2 files changed, 2 insertions, 10 deletions
diff --git a/mk/platform/NetBSD.mk b/mk/platform/NetBSD.mk index 7e34da89d0c..1829a974e54 100644 --- a/mk/platform/NetBSD.mk +++ b/mk/platform/NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.mk,v 1.54 2017/08/07 23:44:53 maya Exp $ +# $NetBSD: NetBSD.mk,v 1.55 2017/08/07 23:54:09 maya Exp $ # # Variable definitions for the NetBSD operating system. @@ -84,12 +84,6 @@ _PATCH_CAN_BACKUP= yes # native patch(1) can make backups _PATCH_BACKUP_ARG?= -V simple --suffix # switch to patch(1) for backup suffix _USE_RPATH= yes # add rpath to LDFLAGS -# for programs which use dlopen() -# not necessary since 1.6 (shared libs are linked against libgcc_pic) -.if !empty(OS_VERSION:M1.5*) -LINK_ALL_LIBGCC_HACK= -Wl,--whole-archive -lgcc -Wl,--no-whole-archive -.endif - _STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip _STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip diff --git a/mk/platform/README b/mk/platform/README index b69a81ad421..330f0162ac7 100644 --- a/mk/platform/README +++ b/mk/platform/README @@ -1,4 +1,4 @@ -$NetBSD: README,v 1.5 2016/03/10 16:58:19 jperkin Exp $ +$NetBSD: README,v 1.6 2017/08/07 23:54:09 maya Exp $ These files contain platform-specific definitions that are used by the pkgsrc infrastructure. @@ -91,8 +91,6 @@ TODO: Document all these variables. _USE_RPATH is "yes" to add rpath to LDFLAGS, otherwise "no" - LINK_ALL_LIBGCC_HACK - _STRIPFLAG_CC is cc(1) option to strip. _STRIPFLAG_INSTALL is install(1) option to strip. |