summary refs log tree commit diff
path: root/nscd/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-26 22:22:24 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-26 22:22:24 +0000
commit7b91359b2cb44b56478e7a5ef9070737fa266656 (patch)
treea54d1a28e0c6acbb980b3300ad562a5484868ee9 /nscd/Makefile
parent3f414923cf9937588d900b13ad8404be4dfbca67 (diff)
downloadglibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.gz
glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.xz
glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.zip
* 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.
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile2
1 files changed, 1 insertions, 1 deletions
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