about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-08-23 14:29:43 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-10-02 19:22:57 +0000
commitfc997c6e55cc2636681db298eac4cb7c8568708f (patch)
tree72007f9f2ca467a15236b0ee4ba1ca9160e1c7cd /ChangeLog
parentbb9510dc345f0b24de212604b2308dc6e6cc939a (diff)
downloadglibc-fc997c6e55cc2636681db298eac4cb7c8568708f.tar.gz
glibc-fc997c6e55cc2636681db298eac4cb7c8568708f.tar.xz
glibc-fc997c6e55cc2636681db298eac4cb7c8568708f.zip
nscd: fix compilation flags
Commit 61653dfb81b776bb72ce4304175b861d77c357a8 added support for
compilers predefining _FORTIFY_SOURCE by adding -U_FORTIFY_SOURCE to
CPPFLAGS for these compilers, but that change doesn't work quite well in
case of nscd: its Makefile sets _FORTIFY_SOURCE using CFLAGS instead of
CPPFLAGS and, thanks to compilation rules defined in Makerules, CPPFLAGS
are passed to compiler after CFLAGS, resulting to a build with
_FORTIFY_SOURCE turned off.

This change implements a more safe method of passing preprocessor and
compiler flags so that no nscd modules could be accidentally forgotten.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 69d7941c64..c7f355bce2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
 
+	* nscd/Makefile: Remove nscd-cflags and all its users.
+	(CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
+	(CFLAGS-nonlib): Add compiler flags for nscd modules.
+
 	[BZ #10631]
 	* malloc.c (malloc_printerr): Clarify error message.