# # SPDX-License-Identifier: BSD-2-Clause # # Copyright 2026 The FreeBSD Foundation # # This software were developed by # Konstantin Belousov under sponsorship from # the FreeBSD Foundation. # .include TESTSDIR= ${TESTSBASE}/lib/libsys BINDIR= ${TESTSDIR} MAN= .if ${MK_ASAN} == "no" && ${MK_UBSAN} == "no" ATF_TESTS_SH+= hermetic_test PROGS+= hermetic .endif CFLAGS.hermetic+= -ffreestanding LDFLAGS.hermetic+= -nostdlib -Wl,-e,begin -lsys .include