mirror of git://sourceware.org/git/glibc.git
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>
This commit is contained in:
parent
063f7462da
commit
51231c469b
|
@ -1052,7 +1052,7 @@ pic-ccflag = -fPIC
|
||||||
PIC-ccflag = -fPIC
|
PIC-ccflag = -fPIC
|
||||||
endif
|
endif
|
||||||
# This can be changed by a sysdep makefile
|
# This can be changed by a sysdep makefile
|
||||||
pie-ccflag = -fpie
|
pie-ccflag = -fPIE
|
||||||
no-pie-ccflag = -fno-pie
|
no-pie-ccflag = -fno-pie
|
||||||
# This one should always stay like this unless there is a very good reason.
|
# This one should always stay like this unless there is a very good reason.
|
||||||
PIE-ccflag = -fPIE
|
PIE-ccflag = -fPIE
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
# The Sparc `long double' is a distinct type we support.
|
# The Sparc `long double' is a distinct type we support.
|
||||||
long-double-fcts = yes
|
long-double-fcts = yes
|
||||||
|
|
||||||
pie-ccflag = -fPIE
|
|
||||||
no-pie-ccflag = -fno-PIE
|
|
||||||
|
|
||||||
ifeq ($(subdir),gmon)
|
ifeq ($(subdir),gmon)
|
||||||
sysdep_routines += sparc-mcount
|
sysdep_routines += sparc-mcount
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue