diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-04-02 23:50:25 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-04-02 23:50:25 +0000 |
commit | a5255255fdaefcaae8c1e2d08a9d597ad9d59dd1 (patch) | |
tree | 5eefecad4e5ea73505f6384b06e5a8a31b818e71 /mk/compiler/gcc.mk | |
parent | 8d0af3636fd4153abf3dbcc1285d6b6875ae08d6 (diff) | |
download | pkgsrc-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/compiler/gcc.mk')
-rw-r--r-- | mk/compiler/gcc.mk | 4 |
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*} |