diff --git a/gnu/usr.bin/gdb/Makefile.inc b/gnu/usr.bin/gdb/Makefile.inc index 37b9c21a489..9a318452122 100644 --- a/gnu/usr.bin/gdb/Makefile.inc +++ b/gnu/usr.bin/gdb/Makefile.inc @@ -1,3 +1,6 @@ +# bsd.lib.mk causes this file to be loaded multiple times. +.if !defined(BEEN_HERE) +BEEN_HERE=1 # this may be defined in other places .if !defined(GDBDIR) @@ -8,4 +11,4 @@ CFLAGS+= -I${GDBDIR}/include/. -I${GDBDIR}/gdb/. -I${GDBDIR}/bfd/. CFLAGS+= -I${GDBDIR}/libiberty/. CFLAGS+= -I${GDBDIR}/gdb/config/. CFLAGS+= -DHAVE_CONFIG_H - +.endif