diff options
author | obrien <obrien@FreeBSD.org> | 2002-04-23 00:10:18 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-04-23 00:10:18 +0000 |
commit | 84b82bd4fa4ead1c866efebe81468d72be1a871f (patch) | |
tree | d5c658e1247ea636fb0e51b3ba801936e318823e /gnu/usr.bin/cc/Makefile.inc | |
parent | 45f3bdde744be43fd191ee929a8c5a7cec0b0856 (diff) | |
download | FreeBSD-src-84b82bd4fa4ead1c866efebe81468d72be1a871f.zip FreeBSD-src-84b82bd4fa4ead1c866efebe81468d72be1a871f.tar.gz |
Don't use "GCCDIR" as the multiple inclusion protector. Subdir Makefiles
may want to override GCCDIR and this gets in the way.
Diffstat (limited to 'gnu/usr.bin/cc/Makefile.inc')
-rw-r--r-- | gnu/usr.bin/cc/Makefile.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc index 49c1aa5..355b0bc 100644 --- a/gnu/usr.bin/cc/Makefile.inc +++ b/gnu/usr.bin/cc/Makefile.inc @@ -3,7 +3,9 @@ .include "../Makefile.inc" # Sometimes this is .include'd several times... -.if !defined(GCCDIR) +.if !defined(__CC_MAKEFILE_INC__) +__CC_MAKEFILE_INC__= ${MFILE} + GCCDIR= ${.CURDIR}/../../../../contrib/gcc.295 TARGET_ARCH?= ${MACHINE_ARCH} @@ -61,4 +63,4 @@ LIBCC_INT= ${.OBJDIR}/../cc_int/libcc_int.a LIBCC_INT= ${.CURDIR}/../cc_int/libcc_int.a .endif -.endif # !GCCDIR +.endif # !__CC_MAKEFILE_INC__ |