From 5db327e2537e200c96654c635965f2201ef1f82b Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 23 Nov 2013 08:55:28 +0000 Subject: Set Interix bultin gcc specific patths to COMPILER_{INCLUDE,LIB}_DIRS. --- mk/compiler/gcc.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mk') 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 -- cgit v1.2.3