Do not try to S/${_CPUCFLAGS}//g when _CPUCFLAGS is not defined or empty
(like on ia64); S///g is too much for make's little mind. Approved by: kris
This commit is contained in:
parent
e7d39d0302
commit
27ddcc1bc7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72864
1 changed files with 2 additions and 0 deletions
|
@ -28,7 +28,9 @@ ONLY_FOR_ARCHS= i386
|
|||
|
||||
USE_GMAKE= yes
|
||||
HAS_CONFIGURE= yes
|
||||
.if defined(_CPUCFLAGS) && !empty(_CPUCFLAGS)
|
||||
CFLAGS:= ${CFLAGS:S/${_CPUCFLAGS}//g}
|
||||
.endif
|
||||
PLIST_SUB= GCC_VER=${PORTVERSION}
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --target=m6811-elf \
|
||||
--program-prefix=m6811-elf-
|
||||
|
|
Loading…
Reference in a new issue