aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf
diff options
context:
space:
mode:
authorKai Wang <kaiw@FreeBSD.org>2014-01-15 22:47:53 +0000
committerKai Wang <kaiw@FreeBSD.org>2014-01-15 22:47:53 +0000
commit7c4a6907eeaa06a1e15cf97ec792e8a565414221 (patch)
tree6ac1bc085c98c5170d7aff063bf868a971e34841 /lib/libelf
parentedbef29b9b3e0f1889651f50e9af605ede9e83ca (diff)
Notes
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index 8617cdd4d202..e6bf24a9ceb9 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -4,10 +4,6 @@
TOP= ${.CURDIR}/../../contrib/elftoolchain
SRCDIR= ${TOP}/libelf
-CFLAGS+= -I. # OBJDIR
-CFLAGS+= -I${SRCDIR} # Sources
-CFLAGS+= -I${TOP}/common # common code
-
.PATH: ${SRCDIR}
LIB= elf
@@ -72,6 +68,7 @@ INCSDIR= /usr/include
GENSRCS= libelf_fsize.c libelf_msize.c libelf_convert.c
CLEANFILES= ${GENSRCS}
+CFLAGS+= -I. -I${SRCDIR} -I${TOP}/common
SHLIB_MAJOR= 1