diff options
author | obache <obache> | 2013-11-23 08:55:28 +0000 |
---|---|---|
committer | obache <obache> | 2013-11-23 08:55:28 +0000 |
commit | e1f4b6a46c9cb9014455793862788a591e6d290e (patch) | |
tree | cc2c2670c8ec2b55ac2fd355c975e20eb7263330 /mk | |
parent | 6c325661603cb23480855048b343cfd793c94ce0 (diff) | |
download | pkgsrc-e1f4b6a46c9cb9014455793862788a591e6d290e.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 |