diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-07 01:26:58 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-07 01:26:58 +0000 |
| commit | baef823236d9ae5583e0fc50d0b4182d7e623a69 (patch) | |
| tree | 5bdfc62c4fe1d6dddbe5acf8610d55ef04c7ed29 /gnu | |
| parent | 66ecbefa3d04f10368733c8f791c708bf6498e0a (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/cc/Makefile.inc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc index d49180555426..85aa3862f73c 100644 --- a/gnu/usr.bin/cc/Makefile.inc +++ b/gnu/usr.bin/cc/Makefile.inc @@ -3,14 +3,16 @@ .include "../Makefile.inc" # Sometimes this is .include'd several times... -.if !defined(GCCDIR) -GCCDIR= ${.CURDIR}/../../../../contrib/gcc +.if !defined(__CC_MAKEFILE_INC__) +__CC_MAKEFILE_INC__= ${MFILE} + +GCCDIR= ${.CURDIR}/../../../../contrib/gcc .include "Makefile.tgt" # Machine description. -MD_FILE= ${GCCDIR}/config/${TARGET_ARCH}/${TARGET_ARCH}.md -target= ${TARGET_ARCH}-unknown-freebsd +MD_FILE= ${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.md +target= ${TARGET_ARCH}-undermydesk-freebsd CFLAGS+= -DIN_GCC -DHAVE_CONFIG_H CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\" @@ -50,4 +52,4 @@ LIBCC_INT= ${.OBJDIR}/../cc_int/libcc_int.a LIBCC_INT= ${.CURDIR}/../cc_int/libcc_int.a .endif -.endif # !GCCDIR +.endif # !__CC_MAKEFILE_INC__ |
