summaryrefslogtreecommitdiff
path: root/devel/m6811-gcc
diff options
context:
space:
mode:
authorThomas Moestl <tmm@FreeBSD.org>2003-01-10 23:37:16 +0000
committerThomas Moestl <tmm@FreeBSD.org>2003-01-10 23:37:16 +0000
commit27ddcc1bc754b6dc031837f803684cea659bde89 (patch)
tree0c6b71642d292a62371ab0636ba1930c5dce076d /devel/m6811-gcc
parentFix Build on CURRENT. (diff)
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
Notes
Notes: svn path=/head/; revision=72864
Diffstat (limited to 'devel/m6811-gcc')
-rw-r--r--devel/m6811-gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/m6811-gcc/Makefile b/devel/m6811-gcc/Makefile
index aaa2d5425c89..be264b5f75f7 100644
--- a/devel/m6811-gcc/Makefile
+++ b/devel/m6811-gcc/Makefile
@@ -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-