summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-07-31 19:41:32 +0000
committerobrien <obrien@FreeBSD.org>2003-07-31 19:41:32 +0000
commit1e4b5b112b3030bd2d3b6d62dc4613f00959fc01 (patch)
tree8a60d0015aae1743054233756f24ee486372bfc0 /gnu
parent937519b3ea617431293ae28f3f5eab15a897d658 (diff)
downloadFreeBSD-src-1e4b5b112b3030bd2d3b6d62dc4613f00959fc01.zip
FreeBSD-src-1e4b5b112b3030bd2d3b6d62dc4613f00959fc01.tar.gz
If ${GCC_CPU}-c.c exists, we need to use it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_int/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_int/Makefile b/gnu/usr.bin/cc/cc_int/Makefile
index fe6d828..f454b17 100644
--- a/gnu/usr.bin/cc/cc_int/Makefile
+++ b/gnu/usr.bin/cc/cc_int/Makefile
@@ -27,6 +27,9 @@ SRCS= c-common.c c-dump.c c-format.c c-opts.c \
attribs.c cselib.c debug.c rtl-error.c tree-dump.c tree-inline.c
SRCS+= ${GCC_CPU}.c
+.if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}-c.c)
+SRCS+= ${GCC_CPU}-c.c
+.endif
SRCS+= bb-reorder.c conflict.c ggc-common.c \
ggc-page.c ifcvt.c lists.c predict.c regrename.c resource.c sibcall.c \
OpenPOWER on IntegriCloud