From 7b91359b2cb44b56478e7a5ef9070737fa266656 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 26 Jul 2008 22:22:24 +0000 Subject: * Makeconfig: Define pie-ccflag and PIE-ccflag variables. * elf/Makefile: Use pie-ccflag variable. * nscd/Makefile: Likewise. * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE. --- nscd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd') diff --git a/nscd/Makefile b/nscd/Makefile index 51badea201..364ddfe8dd 100644 --- a/nscd/Makefile +++ b/nscd/Makefile @@ -90,7 +90,7 @@ CFLAGS-nscd_initgroups.c = -fexceptions nscd-cflags = -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2 ifeq (yesyes,$(have-fpie)$(build-shared)) -nscd-cflags += -fpie +nscd-cflags += $(pie-ccflag) endif ifeq (yes,$(have-ssp)) nscd-cflags += -fstack-protector -- cgit v1.2.3