Don't use "GCCDIR" as the multiple inclusion protector. Subdir Makefiles
may want to override GCCDIR and this gets in the way.
This commit is contained in:
parent
98f6cc5401
commit
e5ccba11ac
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user