diff options
author | obache <obache@pkgsrc.org> | 2013-11-23 08:55:28 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-11-23 08:55:28 +0000 |
commit | 5db327e2537e200c96654c635965f2201ef1f82b (patch) | |
tree | cc2c2670c8ec2b55ac2fd355c975e20eb7263330 /mk | |
parent | 2b9b487f57531ca7021bb80dae9c0dc9edd83550 (diff) | |
download | pkgsrc-5db327e2537e200c96654c635965f2201ef1f82b.tar.gz |
Set Interix bultin gcc specific patths to COMPILER_{INCLUDE,LIB}_DIRS.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/gcc.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index 5d98d375046..5da0177025a 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.142 2013/07/09 10:13:43 jperkin Exp $ +# $NetBSD: gcc.mk,v 1.143 2013/11/23 08:55:28 obache Exp $ # # This is the compiler definition for the GNU Compiler Collection. # @@ -848,4 +848,9 @@ _GCC_NEEDS_A_FORTRAN= yes . include "../../mk/compiler/${PKGSRC_FORTRAN}.mk" .endif +.if ${OPSYS} == "Interix" && !empty(_GCCBINDIR:M/opt/gcc.*) +COMPILER_INCLUDE_DIRS= ${_GCCBINDIR:H}/include ${_OPSYS_INCLUDE_DIRS} +COMPILER_LIB_DIRS= ${_GCCBINDIR:H}/lib ${_OPSYS_LIB_DIRS} +.endif + .endif # COMPILER_GCC_MK |