diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-07-26 22:22:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-07-26 22:22:24 +0000 |
commit | 7b91359b2cb44b56478e7a5ef9070737fa266656 (patch) | |
tree | a54d1a28e0c6acbb980b3300ad562a5484868ee9 /nscd | |
parent | 3f414923cf9937588d900b13ad8404be4dfbca67 (diff) | |
download | glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.gz |
* 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')
-rw-r--r-- | nscd/Makefile | 2 |
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 |