From 7c4a6907eeaa06a1e15cf97ec792e8a565414221 Mon Sep 17 00:00:00 2001 From: Kai Wang Date: Wed, 15 Jan 2014 22:47:53 +0000 Subject: [PATCH] Set CFLAGS in just one line. --- lib/libelf/Makefile | 5 +---- 1 file changed, 1 insertion(+), 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