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:
Thomas Moestl 2003-01-10 23:37:16 +00:00
parent e7d39d0302
commit 27ddcc1bc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72864

View file

@ -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-