HomeFreeBSD

bsd.lib.mk: add conditions for building _pie.a archives

Description

bsd.lib.mk: add conditions for building _pie.a archives

As with other .a targets, build _pie.a archives only if LIB is set.

At present we build _pie.a only for INTERNALLIBs, and none of them
include bsd.lib.mk without setting LIB. However, we might want to build
_pie.a for non-INTERNALLIBs in the future.

Reviewed by: arichardson
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31920

(cherry picked from commit 7c0226cad3f36a05832f9c5216dfa3dadb91c92d)

Details

Provenance
emasteAuthored on Sep 12 2021, 4:45 PM
Reviewer
arichardson
Differential Revision
D31920: bsd.lib.mk: add conditions for building _pie.a archives
Parents
rG9eb77afb4df1: test/ptrace/scescx.c: fix printing of braces for syscalls without args
Branches
Unknown
Tags
Unknown