svn commit: r260699 - projects/elftoolchain/lib/libelf

Kai Wang kaiw at FreeBSD.org
Wed Jan 15 22:47:53 UTC 2014


Author: kaiw
Date: Wed Jan 15 22:47:53 2014
New Revision: 260699
URL: http://svnweb.freebsd.org/changeset/base/260699

Log:
  Set CFLAGS in just one line.

Modified:
  projects/elftoolchain/lib/libelf/Makefile

Modified: projects/elftoolchain/lib/libelf/Makefile
==============================================================================
--- projects/elftoolchain/lib/libelf/Makefile	Wed Jan 15 22:35:55 2014	(r260698)
+++ projects/elftoolchain/lib/libelf/Makefile	Wed Jan 15 22:47:53 2014	(r260699)
@@ -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
 


More information about the svn-src-projects mailing list