From 1db0668b75a99f1015e578efabd62878c7e69e8e Mon Sep 17 00:00:00 2001 From: bluhm Date: Mon, 17 May 2021 13:54:42 +0000 Subject: [PATCH] Link fenv.S test program statically to avoid calling the dynamic linker. --- regress/sys/arch/amd64/fpu/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/sys/arch/amd64/fpu/Makefile b/regress/sys/arch/amd64/fpu/Makefile index a915755f3ed..45aefa9c4d9 100644 --- a/regress/sys/arch/amd64/fpu/Makefile +++ b/regress/sys/arch/amd64/fpu/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.2 2020/12/17 00:51:12 bluhm Exp $ +# $OpenBSD: Makefile,v 1.3 2021/05/17 13:54:42 bluhm Exp $ PROGS = fenv fdump fdfl feget fxproc0 SRCS_fenv = fenv.S -LDADD_fenv = -nostdlib -nopie +LDADD_fenv = -nopie -nostdlib -static LDADD_fdfl = -lm LDADD_feget = -lm LDADD_fxproc0 = -lkvm -- 2.20.1