Skip to content

Commit

Permalink
HBSD: Optionally include src.opts.mk.
Browse files Browse the repository at this point in the history
By using .sinclude, the build framework will utilize src.opts.mk for
base, but not for ports, since src.*.mk does not get installed into
/usr/share/mk. This is needed to change the PIE knob from make.conf(5)
to src.conf(5).

Obtained-from:	@bdrewery <bdrewery@freebsd.org>
Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
  • Loading branch information
lattera committed Apr 13, 2016
1 parent 5878050 commit 1d066c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions share/mk/bsd.init.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ __<bsd.init.mk>__:
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
.endif
.sinclude <src.opts.mk>
.include <bsd.own.mk>
.MAIN: all
beforebuild: .PHONY .NOTMAIN
Expand Down

0 comments on commit 1d066c7

Please sign in to comment.