mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Protect against multiple inclusion (All the CFLAGS+= items make the cc
command lines get rather long). (bsd.lib.mk is particularly bad at this)
This commit is contained in:
parent
8378bbaded
commit
a46132c1a2
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue