freebsd-dev/stand/userboot
Alex Richardson 5e9226f063 Fix build of stand/ when building world with ASAN
The userboot/test  program links against the default userspace libraries
(e.g. shared libgcc_s.so) that will be instrumented if WITH_ASAN is set.
All other programs link against libsa instead of libc and therefore can't
use the sanitizer runtime library. To fix the stand/ build with
sanitizers, we disable MK_ASAN/MK_UBSAN if -nostdlib is found in the
LDFLAGS (i.e. we are using libsa instead of libc).

Reviewed By:	imp, tsoome
Differential Revision: https://reviews.freebsd.org/D31047
2021-08-02 14:33:24 +01:00
..
test loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
userboot Fix build of stand/ when building world with ASAN 2021-08-02 14:33:24 +01:00
userboot_4th userboot: handle guest interpreter mismatches more intelligently 2018-09-01 02:23:45 +00:00
userboot_lua userboot: handle guest interpreter mismatches more intelligently 2018-09-01 02:23:45 +00:00
Makefile userboot: handle guest interpreter mismatches more intelligently 2018-09-01 02:23:45 +00:00
Makefile.inc
userboot.h loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00