]> sourceware.org Git - glibc.git/commitdiff
Makeconfig: Set pie-ccflag to -fPIE by default [BZ# 29514]
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 23 Aug 2022 20:49:23 +0000 (13:49 -0700)
committerCarlos O'Donell <carlos@redhat.com>
Mon, 29 Aug 2022 13:03:00 +0000 (09:03 -0400)
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>
Makeconfig
sysdeps/sparc/Makefile

index e78cf220af4b6b7f27221eb8d8f6a1519246809c..f8164a00250c6fae1eb313721097641dcc28b4ef 100644 (file)
@@ -1052,7 +1052,7 @@ pic-ccflag = -fPIC
 PIC-ccflag = -fPIC
 endif
 # This can be changed by a sysdep makefile
-pie-ccflag = -fpie
+pie-ccflag = -fPIE
 no-pie-ccflag = -fno-pie
 # This one should always stay like this unless there is a very good reason.
 PIE-ccflag = -fPIE
index 12c2c1b085fd4ae211a9fef41c5bc87754d847bd..26b4a846067f5e4571a44fb21ce88d5b10ba3f78 100644 (file)
@@ -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
This page took 0.046145 seconds and 5 git commands to generate.