summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-04-02 23:50:25 +0000
committerjperkin <jperkin@pkgsrc.org>2015-04-02 23:50:25 +0000
commita5255255fdaefcaae8c1e2d08a9d597ad9d59dd1 (patch)
tree5eefecad4e5ea73505f6384b06e5a8a31b818e71 /mk
parent8d0af3636fd4153abf3dbcc1285d6b6875ae08d6 (diff)
downloadpkgsrc-a5255255fdaefcaae8c1e2d08a9d597ad9d59dd1.tar.gz
Append LIBABISUFFIX to the GCC library path. Fixes Linux and SunOS
multilib systems where it is the default, no change on other platforms.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 57b157da5f2..eb7b925dd17 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.157 2015/04/02 23:42:15 jperkin Exp $
+# $NetBSD: gcc.mk,v 1.158 2015/04/02 23:50:25 jperkin Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -672,7 +672,7 @@ _GCC_SUBPREFIX:= ${_GCC_ARCHDIR:H:H:H:H:H:T}/
. endif
_GCC_LIBDIRS= ${_GCC_ARCHDIR}
. if empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss])
-_GCC_LIBDIRS+= ${_GCC_PREFIX}lib
+_GCC_LIBDIRS+= ${_GCC_PREFIX}lib${LIBABISUFFIX}
. endif
_GCC_LDFLAGS= # empty
. for _dir_ in ${_GCC_LIBDIRS:N*not_found*}