diff options
author | Carlos O'Donell <carlos@systemhalted.org> | 2016-02-14 19:27:06 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@systemhalted.org> | 2016-02-14 20:09:52 -0500 |
commit | 3c47c83a9730c20e602694505b9278c25637b0d0 (patch) | |
tree | c6f859629e8c270ef682459d2d314e7d68ba51f1 /math/Makefile | |
parent | 1233be76694ca81454f61e2ba5a2fb5830840191 (diff) | |
download | glibc-3c47c83a9730c20e602694505b9278c25637b0d0.tar.gz |
Ensure isinff, isinfl, isnanf, and isnanl are defined (Bug 19439)
In ICO C++11 mode ensure that isinff, isinfl, isnanf, and isnanl
are defined. These functions were accidentally removed from the
header as part of commit d9b965fa56350d6eea9f7f438a0714c7ffbb183f,
but being GNU extensions, they should have been left in place.
Diffstat (limited to 'math/Makefile')
-rw-r--r-- | math/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 222ee6bb97..7d573a0074 100644 --- a/math/Makefile +++ b/math/Makefile @@ -114,6 +114,7 @@ tests = test-matherr test-fenv atest-exp atest-sincos atest-exp2 basic-test \ test-nearbyint-except-2 test-signgam-uchar test-signgam-uchar-init \ test-signgam-uint test-signgam-uint-init test-signgam-ullong \ test-signgam-ullong-init test-nan-overflow test-nan-payload \ + test-math-isinff \ $(tests-static) tests-static = test-fpucw-static test-fpucw-ieee-static \ test-signgam-uchar-static test-signgam-uchar-init-static \ @@ -220,6 +221,8 @@ CFLAGS-test-signgam-ullong-init.c = -std=c99 CFLAGS-test-signgam-ullong-static.c = -std=c99 CFLAGS-test-signgam-ullong-init-static.c = -std=c99 +CFLAGS-test-math-isinff.cc = -std=gnu++11 + # The -lieee module sets the _LIB_VERSION_ switch to IEEE mode # for error handling in the -lm functions. install-lib += libieee.a |