HomeFreeBSD

Don't clobber system LDFLAGS for beri boot loaders.

Description

Don't clobber system LDFLAGS for beri boot loaders.

Prior to r325114, bsd.init.mk was included after assignments to CFLAGS and
LDFLAGS in these Makefiles. After r325114, bare assignments (= rather than
+=) lost system-assigned default values that are needed when compiling with
an external toolchain. CFLAGS in both Makefiles already uses +=. This
commit changes LDFLAGS to use +=. While here, depend on the LDFLAGS update
in the parent Makefile.inc to set -nostdlib.

Sponsored by: DARPA / AFRL

Details

Provenance
jhbAuthored on
Parents
rS327522: Fix warnings from "mandoc -Tlint -Wwarning".
Branches
Unknown
Tags
Unknown