Link fenv.S test program statically to avoid calling the dynamic
authorbluhm <bluhm@openbsd.org>
Mon, 17 May 2021 13:54:42 +0000 (13:54 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 17 May 2021 13:54:42 +0000 (13:54 +0000)
linker.

regress/sys/arch/amd64/fpu/Makefile

index a915755..45aefa9 100644 (file)
@@ -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