diff options
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm-compat/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile index a09209a2dd..ed0e2ec098 100644 --- a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile +++ b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile @@ -177,6 +177,21 @@ endif ifeq ($(subdir),misc) ldbl-extra-routines += err \ error + +tests-internal += tst-ibm128-warn tst-ieee128-warn +tests-internal += tst-ibm128-error tst-ieee128-error + +$(objpfx)tst-ibm128-%.c: tst-ldbl-%.c + cp $< $@ + +$(objpfx)tst-ieee128-%.c: tst-ldbl-%.c + cp $< $@ + +CFLAGS-tst-ibm128-warn.c += -mabi=ibmlongdouble -Wno-psabi +CFLAGS-tst-ibm128-error.c += -mabi=ibmlongdouble -Wno-psabi + +CFLAGS-tst-ieee128-warn.c += -mfloat128 -mabi=ieeelongdouble -Wno-psabi +CFLAGS-tst-ieee128-error.c += -mfloat128 -mabi=ieeelongdouble -Wno-psabi endif # Add IEEE binary128 files as make targets. |