aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-27 21:47:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-27 21:47:22 +0000
commit783dd2d3af5aad76829e61ab5abeac5d466971f6 (patch)
treeca5241bb4e2ed9dcc33ff2e44eb924d9e8a2f283 /ChangeLog
parent3e2ee6f0e3471ceb4c49f8287676a7050401bf8f (diff)
downloadglibc-783dd2d3af5aad76829e61ab5abeac5d466971f6.zip
glibc-783dd2d3af5aad76829e61ab5abeac5d466971f6.tar.gz
glibc-783dd2d3af5aad76829e61ab5abeac5d466971f6.tar.bz2
Use -std=gnu11 instead of -std=gnu99.
Now that GCC 4.7 or later is required to build glibc, this patch moves the build from using -std=gnu99 to -std=gnu11 (option added in 4.7). This allows use of C11 features from GCC's headers, such as new float.h macros and max_align_t. Tested for x86_64 and x86 (testsuite; installed stripped shared libraries are unchanged by the patch on x86_64, while I see some slight code reordering of no significance on x86). * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99. * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11 instead of -std=gnu99. * configure.ac (systemtap): Test with -std=gnu11 instead of -std=gnu99. * configure: Regenerated. * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99 in compilation command in comment.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a9cfb3b..54471b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2015-10-27 Joseph Myers <joseph@codesourcery.com>
+ * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
+ * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
+ instead of -std=gnu99.
+ * configure.ac (systemtap): Test with -std=gnu11 instead of
+ -std=gnu99.
+ * configure: Regenerated.
+ * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
+ in compilation command in comment.
+
* sysdeps/nptl/configure.ac: Remove file.
* sysdeps/nptl/configure: Remove generated file.
* configure.ac (libc_cv_forced_unwind): Do not substitute.