From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7910) id 85F293857719; Tue, 25 Jul 2023 20:17:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 85F293857719 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690316246; bh=1IaNOEBVt3ci/aI+LnV6sLtouazAaORjPug1yd6OJqs=; h=From:To:Subject:Date:From; b=vbW6xS+ragOIndY0DBPIQqX/00dnZOi2qjntovYc+El9QZdRljP8oDdSkCfrWGb13 TVX3quOEhOjsXfJ9WJ2WmqQMRXKg/OlOVkFZhBj+FTvx4X9IBMcf+heR2czwBSeb9/ DYOJ43ac7kAmGMoZxNHKSghG+75nsNJfqI/GFzwA= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Andreas K. Huttel To: glibc-cvs@sourceware.org Subject: [glibc] nscd: cleanup obsolete _FORTIFY_SOURCE setting X-Act-Checkin: glibc X-Git-Author: Sam James X-Git-Refname: refs/heads/master X-Git-Oldrev: 637aac2ae3980de31a6baab236a9255fe853cc76 X-Git-Newrev: 5b61880ba3a0367f8969e028cb2cfe80d6eda8ab Message-Id: <20230725201726.85F293857719@sourceware.org> Date: Tue, 25 Jul 2023 20:17:26 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5b61880ba3a0367f8969e028cb2cfe80d6eda8ab commit 5b61880ba3a0367f8969e028cb2cfe80d6eda8ab Author: Sam James Date: Tue Jul 25 21:04:31 2023 +0100 nscd: cleanup obsolete _FORTIFY_SOURCE setting This was added in 233399bce2e79e5af3b344782e9943d5f1a9cdcb just for warn_if_unused warnings rather than anything substantial. Now that we have a proper configure argument for F_S (--enable-fortify-source), just drop this entirely, to avoid conflicting with e.g. detected --enable-fortify-source finding F_S=3, then nscd's Makefile setting F_S=2, resulting in a build-failure because of the redefinition. Signed-off-by: Sam James Signed-off-by: Andreas K. Hüttel Reviewed-by: Andreas K. Hüttel Diff: --- nscd/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/nscd/Makefile b/nscd/Makefile index c2e70d33b7..2a0489f4cf 100644 --- a/nscd/Makefile +++ b/nscd/Makefile @@ -79,8 +79,6 @@ CFLAGS-nscd_gethst_r.c += -fexceptions CFLAGS-nscd_getai.c += -fexceptions CFLAGS-nscd_initgroups.c += -fexceptions -CPPFLAGS-nscd += -D_FORTIFY_SOURCE=2 - ifeq (yesyes,$(have-fpie)$(build-shared)) CFLAGS-nscd += $(pie-ccflag) endif