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 /Makeconfig | |
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 'Makeconfig')
-rw-r--r-- | Makeconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig index 7de7621f56..a78615eb6a 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. |