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 /elf/Makefile | |
parent | 3f414923cf9937588d900b13ad8404be4dfbca67 (diff) | |
download | glibc-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 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile index e509153547..abb9572166 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -800,7 +800,7 @@ $(objpfx)tst-array5-static.out: $(objpfx)tst-array5-static cmp $@ tst-array5-static.exp > /dev/null ifeq (yesyes,$(have-fpie)$(build-shared)) -CFLAGS-tst-pie1.c += -fpie +CFLAGS-tst-pie1.c += $(pie-ccflag) $(objpfx)tst-pie1.out: $(objpfx)tst-pie1 $(elf-objpfx)$(rtld-installed-name) \ |