From 1aa3dc7c53f61ca4cc64d1af70cc798568190716 Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 25 Apr 2015 22:06:42 +0000 Subject: revert previous hack, it doesn't work due to -lgcc. Will fix it in wrappers instead. --- lang/libLLVM34/Makefile | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'lang/libLLVM34') diff --git a/lang/libLLVM34/Makefile b/lang/libLLVM34/Makefile index d683ac8d04b..901a904921b 100644 --- a/lang/libLLVM34/Makefile +++ b/lang/libLLVM34/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2015/04/25 20:20:32 tnn Exp $ +# $NetBSD: Makefile,v 1.7 2015/04/25 22:06:42 tnn Exp $ DISTNAME= llvm-${PKGVERSION_NOREV}.src PKGNAME= libLLVM34-3.4.2 @@ -75,21 +75,6 @@ PLIST_SUBST+= SOEXT="dylib" PLIST_SUBST+= SOEXT="so" .endif -# XXX temporary band-aid for wrapper reordering bug until we have a proper fix -# -# Wrappers incorrectly reorder: -# -# -Wl,--whole-archive -lmystaticlib -Wl,--no-whole-archive -# -# to -# -# -Wl,--whole-archive -Wl,--no-whole-archive -lmystaticlib -# -# Which nullies the effect of --whole-archive. -# Kludge around this by removing --no-whole-archive from the command line. -# It happens to be safe in this particular case, as far as I can tell. -BUILDLINK_TRANSFORM+= rm:-Wl,--no-whole-archive - .include "../../devel/zlib/buildlink3.mk" .include "../../lang/python/tool.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3