Prepend the CCC compiler dir to the PATH so that they're found by the
wrapper scripts.
This commit is contained in:
parent
9e296c8b45
commit
5f768fe677
1 changed files with 6 additions and 1 deletions
|
@ -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_}})
|
||||
|
|
Loading…
Reference in a new issue