| 1 | ifeq ($(subdir),stdio-common) |
| 2 | ifeq ($(run-built-tests),yes) |
| 3 | # Put long double IEEE binary128 format inputs in sysdeps/ieee754/ldbl-128 |
| 4 | # first in vpath. Otherwise the ordering of sysdeps would cause long double |
| 5 | # IEEE binary64 format inputs in sysdeps/ieee754/ldbl-opt to be used instead |
| 6 | # for the common rules requested in sysdeps/ieee754/ldbl-128 with targets |
| 7 | # using the dual -mlong-double-128/-mlong-double-64 arrangement. |
| 8 | define tst-scanf-format-64-128-vpath |
| 9 | vpath tst-scanf-format-ldouble-$(1).input ../sysdeps/ieee754/ldbl-128 |
| 10 | endef |
| 11 | $(foreach f,$(fmts-xscanf-real), \ |
| 12 | $(eval $(call tst-scanf-format-64-128-vpath,$(f)))) |
| 13 | endif # $(run-built-tests) == yes |
| 14 | endif # $(subdir) == stdio-common |