about summary refs log tree commit diff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-08-23 13:49:23 -0700
committerCarlos O'Donell <carlos@redhat.com>2022-08-29 09:03:00 -0400
commit51231c469b49fb3837590f40a93f88db9a20bb86 (patch)
treee65f0d51ef317eb62c331e5d014c8babdf2bccb4 /sysdeps/sparc
parent063f7462dac26487e38b126afcf80dad77da444c (diff)
downloadglibc-51231c469b49fb3837590f40a93f88db9a20bb86.tar.gz
glibc-51231c469b49fb3837590f40a93f88db9a20bb86.tar.xz
glibc-51231c469b49fb3837590f40a93f88db9a20bb86.zip
Makeconfig: Set pie-ccflag to -fPIE by default [BZ# 29514]
We should default to the larger code model, in order to support
larger applications built with -static -pie.  This should be
consistent with pic-ccflag, which defaults to -fPIC.

Remove the now redundant override from sysdeps/sparc/Makefile.
Note that -fno-pie and -fno-PIE have the same effect.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/sparc/Makefile b/sysdeps/sparc/Makefile
index 12c2c1b085..26b4a84606 100644
--- a/sysdeps/sparc/Makefile
+++ b/sysdeps/sparc/Makefile
@@ -1,9 +1,6 @@
 # The Sparc `long double' is a distinct type we support.
 long-double-fcts = yes
 
-pie-ccflag = -fPIE
-no-pie-ccflag = -fno-PIE
-
 ifeq ($(subdir),gmon)
 sysdep_routines += sparc-mcount
 endif