Fix powerpc64le build of nan-sign tests (bug 23303).
commit809dc95d14b7c0245c9ec102c51fd72c42108973
authorJoseph Myers <joseph@codesourcery.com>
Mon, 18 Jun 2018 11:27:51 +0000 (18 11:27 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 18 Jun 2018 11:27:51 +0000 (18 11:27 +0000)
tree484ed3c258a08fe8ff84034945de67682f7d3cb2
parent4d0ac0375ba54da7d36aae6b7932e8813b2c89af
Fix powerpc64le build of nan-sign tests (bug 23303).

My recent nan-sign tests fail to build for powerpc64le with GCC 8
because of the special compile / link options needed there for any
test using _Float128.  This patch arranges for these tests to be
handled on powerpc64le similarly to other such tests.

Tested with build-many-glibcs.py for powerpc64le.

[BZ #23303]
* sysdeps/powerpc/powerpc64/le/Makefile
(CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
(CFLAGS-tst-wcstod-nan-sign.c): Likewise.
(gnulib-tests): Also add $(f128-loader-link) for
tst-strtod-nan-sign abd tst-wcstod-nan-sign.
ChangeLog
sysdeps/powerpc/powerpc64/le/Makefile