DragonFly commits List (threaded) for 2012-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: bsd.prog.mk: Avoid redefining $PROG target
commit b4061d6cf8a3f9e959e064a3b5127b0172117fe6
Author: John Marino <netbsd@marino.st>
Date: Thu Oct 4 18:17:47 2012 +0200
bsd.prog.mk: Avoid redefining $PROG target
In rare cases, the PROG target is intentionally redefined before
including bsd.prog.mk, but when that happens a target redefinition
warning is emitting. This adds a check for a pre-existing $PROG
target before attempting to define it.
It stops warnings from being emitted when loader and loader_tftp
are built.
Summary of changes:
share/mk/bsd.prog.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b4061d6cf8a3f9e959e064a3b5127b0172117fe6
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]