mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Refine the TARGET{,_ARCH} hack to not break CC being set to something
relying on PATH. Approved by: netchild
This commit is contained in:
parent
b1ac16db18
commit
c08d958c6e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261641
2 changed files with 6 additions and 4 deletions
|
@ -90,9 +90,10 @@ PKGNAMESUFFIX?= -devel
|
|||
|
||||
# Hack to allow building with TARGET and TARGET_ARCH set in the environment
|
||||
# as done by the release building scripts.
|
||||
SETENV= /usr/bin/env -i -P ${PATH}
|
||||
SETENV= /usr/bin/env -i
|
||||
MAKE_ENV= PATH=${PATH}
|
||||
|
||||
MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
|
||||
MAKE_ENV+= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
|
||||
INS_RBASE=${LOCALBASE}
|
||||
CDRTLSTARGET= ${ARCH}-freebsd-cc
|
||||
|
||||
|
|
|
@ -86,9 +86,10 @@ PLIST_SUB+= RSCSI="@comment "
|
|||
|
||||
# Hack to allow building with TARGET and TARGET_ARCH set in the environment
|
||||
# as done by the release building scripts.
|
||||
SETENV= /usr/bin/env -i -P ${PATH}
|
||||
SETENV= /usr/bin/env -i
|
||||
MAKE_ENV= PATH=${PATH}
|
||||
|
||||
MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
|
||||
MAKE_ENV+= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
|
||||
INS_RBASE=${LOCALBASE}
|
||||
CDRTLSTARGET= ${ARCH}-freebsd-cc
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue