diff options
Diffstat (limited to 'setjmp/Makefile')
-rw-r--r-- | setjmp/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/setjmp/Makefile b/setjmp/Makefile index 2c2ead2..6124333 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) |