diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-12 17:39:18 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-12 17:39:18 +0000 |
commit | 1066719a0cd73c6369c8841f3c73e0e249fc853e (patch) | |
tree | a55e3fc4d5c26967f6aef3d668cb3216d328593b /mk/compiler | |
parent | 3429cf8a9b8b2e4443d84f9d2695ff88222e7823 (diff) | |
download | pkgsrc-1066719a0cd73c6369c8841f3c73e0e249fc853e.tar.gz |
Prepend the CCC compiler dir to the PATH so that they're found by the
wrapper scripts.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/ccc.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/compiler/ccc.mk b/mk/compiler/ccc.mk index bbeacc00eac..3f2f02c5996 100644 --- a/mk/compiler/ccc.mk +++ b/mk/compiler/ccc.mk @@ -1,4 +1,4 @@ -# $NetBSD: ccc.mk,v 1.8 2005/01/12 17:27:50 jlam Exp $ +# $NetBSD: ccc.mk,v 1.9 2005/01/12 17:39:18 jlam Exp $ .if !defined(COMPILER_CCC_MK) COMPILER_CCC_MK= defined @@ -58,6 +58,11 @@ _COMPILER_RPATH_FLAG= ${_COMPILER_LD_FLAG}${_LINKER_RPATH_FLAG}, CFLAGS+=-ieee CXXFLAGS+=-ieee +# Prepend the path to the compiler to the PATH. +.if !empty(_LANGUAGES.ccc) +PREPEND_PATH+= ${_CCC_DIR}/bin +.endif + # Create compiler driver scripts in ${WRKDIR}. .for _var_ in ${_CCC_VARS} . if !target(${_CCC_${_var_}}) |