git: bsd.hostlib.mk: Fix case where SRCS is defined but empty
John Marino
marino at crater.dragonflybsd.org
Wed Jan 28 03:48:21 PST 2015
commit 13804decee4d02ec04104e24a5f5f83a343c5d75
Author: John Marino <draco at marino.st>
Date: Wed Jan 28 12:47:55 2015 +0100
bsd.hostlib.mk: Fix case where SRCS is defined but empty
This is similar to the recent changes to bsd.lib.mk and bsd.prog.mk.
The check covers two augmentations to OBJS, plus let's add some indents
for readability. Note the second augmentation didn't have a bug in it,
so including it inside the wrap only saves having to evaluate it.
Summary of changes:
share/mk/bsd.hostlib.mk | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/13804decee4d02ec04104e24a5f5f83a343c5d75
--
DragonFly BSD source repository
More information about the Commits
mailing list