From a5255255fdaefcaae8c1e2d08a9d597ad9d59dd1 Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 2 Apr 2015 23:50:25 +0000 Subject: Append LIBABISUFFIX to the GCC library path. Fixes Linux and SunOS multilib systems where it is the default, no change on other platforms. --- mk/compiler/gcc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/compiler') 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*} -- cgit v1.2.3