changeset 6559:3a1e34513b37

8179887: Build failure with glibc >= 2.24: error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated Summary: Disable deprecated declarations so the build doesn't fail with -Werror Reviewed-by: omajid
author andrew
date Wed, 26 Jul 2017 19:57:31 +0100
parents 70191d4fad0c
children c2c1b068bd58
files make/linux/makefiles/gcc.make
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make	Thu Mar 30 15:28:33 2017 +0200
+++ b/make/linux/makefiles/gcc.make	Wed Jul 26 19:57:31 2017 +0100
@@ -149,6 +149,7 @@
 else
 ACCEPTABLE_WARNINGS = -Wpointer-arith -Wconversion -Wsign-compare
 endif
+ACCEPTABLE_WARNINGS += -Wno-deprecated-declarations
 
 CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(ACCEPTABLE_WARNINGS)
 # Special cases