aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
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 /Makeconfig
parent3f414923cf9937588d900b13ad8404be4dfbca67 (diff)
downloadglibc-7b91359b2cb44b56478e7a5ef9070737fa266656.zip
glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.gz
glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.bz2
* 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 'Makeconfig')
-rw-r--r--Makeconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index 7de7621..a78615e 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -712,6 +712,10 @@ pic-ccflag = -fPIC
# This one should always stay like this unless there is a very good reason.
PIC-ccflag = -fPIC
endif
+# This can be changed by a sysdep makefile
+pie-ccflag = -fpie
+# This one should always stay like this unless there is a very good reason.
+PIE-ccflag = -fPIE
ifeq (yes,$(build-profile))
# Under --enable-profile, we will build a static library of profiled objects.
# The profiled object files are named foo.op.