summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-04-02 23:21:01 +0000
committerjperkin <jperkin@pkgsrc.org>2015-04-02 23:21:01 +0000
commit90121fb4ce7f8c347d3d29bdee2ae5cbc7d0dee2 (patch)
treed9063b83e0456751c6e6cf2d8e8884b3d1a70fa6 /mk/compiler
parenta4f4847e612e3db5a5fc0828745d2357300ca8cc (diff)
downloadpkgsrc-90121fb4ce7f8c347d3d29bdee2ae5cbc7d0dee2.tar.gz
Don't recompute _GCC_PREFIX and _GCC_SUBPREFIX in the general case. At
best this does nothing, and at worst it is actively harmful when using multilib systems. It's possible the mips case is broken too, but I do not have any hardware to test that on, so for now leave the special mips MABIFLAG handling intact. Fixes multilib SunOS builds.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/gcc.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index a03084b2e76..ca7d614d9f9 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.155 2015/02/04 14:11:50 jperkin Exp $
+# $NetBSD: gcc.mk,v 1.156 2015/04/02 23:21:01 jperkin Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -668,9 +668,6 @@ _GCC_ARCHDIR!= \
. if defined(MABIFLAG) && !empty(MABIFLAG)
_GCC_PREFIX:= ${_GCC_ARCHDIR:H:H:H:H:H}/
_GCC_SUBPREFIX:= ${_GCC_ARCHDIR:H:H:H:H:H:T}/
-. else
-_GCC_PREFIX:= ${_GCC_ARCHDIR:H:H:H:H}/
-_GCC_SUBPREFIX:= ${_GCC_ARCHDIR:H:H:H:H:T}/
. endif
. endif
_GCC_LIBDIRS= ${_GCC_ARCHDIR} ${_GCC_PREFIX}lib