From 2bcb36b265ea2677198c22d005873b9b9600137e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 14 May 2013 19:49:09 +0000 Subject: Add test for setjmp / longjmp and floating-point state. --- setjmp/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'setjmp/Makefile') diff --git a/setjmp/Makefile b/setjmp/Makefile index 2c2ead25e9..6124333546 100644 --- a/setjmp/Makefile +++ b/setjmp/Makefile @@ -25,7 +25,14 @@ headers := setjmp.h bits/setjmp.h bits/setjmp2.h routines := setjmp sigjmp bsd-setjmp bsd-_setjmp \ longjmp __longjmp jmp-unwind -tests := tst-setjmp jmpbug bug269-setjmp +tests := tst-setjmp jmpbug bug269-setjmp tst-setjmp-fp include ../Rules + +ifeq ($(build-shared),yes) +link-libm = $(common-objpfx)math/libm.so +else +link-libm = $(common-objpfx)math/libm.a +endif +$(objpfx)tst-setjmp-fp: $(link-libm) -- cgit v1.2.1