summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-01-08 08:13:23 +0000
committerjhb <jhb@FreeBSD.org>2002-01-08 08:13:23 +0000
commitff81f861a60dd4ec71785bc29c4dd27a1d4a2877 (patch)
tree61fb0a24a49b823071cdb4b6f6fa193036d0d939 /usr.bin
parent02828a5597cf54df0656331392cdbdecdf54bb4e (diff)
downloadFreeBSD-src-ff81f861a60dd4ec71785bc29c4dd27a1d4a2877.zip
FreeBSD-src-ff81f861a60dd4ec71785bc29c4dd27a1d4a2877.tar.gz
Use -I${.OBJDIR} -I${.CURDIR} rather than -I. so that this compiles in a
cross-build environment.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/colldef/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/colldef/Makefile b/usr.bin/colldef/Makefile
index 4bf49fc..b543a25 100644
--- a/usr.bin/colldef/Makefile
+++ b/usr.bin/colldef/Makefile
@@ -5,7 +5,7 @@ SRCS= parse.y scan.l y.tab.h
WARNS?= 2
NO_WERROR=yes
LFLAGS= -8 -i
-CFLAGS+=-I. -I${.CURDIR}/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT
+CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT
LDADD= -ll
DPADD= ${LIBL}
OpenPOWER on IntegriCloud