about summary refs log tree commit diff
path: root/sysdeps/sparc
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 /sysdeps/sparc
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 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/sparc/Makefile b/sysdeps/sparc/Makefile
index 9fa5324b41..73b926554e 100644
--- a/sysdeps/sparc/Makefile
+++ b/sysdeps/sparc/Makefile
@@ -1,6 +1,8 @@
 # The Sparc `long double' is a distinct type we support.
 long-double-fcts = yes
 
+pie-ccflag = -fPIE
+
 ifeq ($(subdir),gmon)
 sysdep_routines += sparc-mcount
 endif