diff options
Diffstat (limited to 'sysdeps/mips/Makefile')
-rw-r--r-- | sysdeps/mips/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mips/Makefile b/sysdeps/mips/Makefile index 3d3552322b..7ac6fa5031 100644 --- a/sysdeps/mips/Makefile +++ b/sysdeps/mips/Makefile @@ -9,10 +9,7 @@ endif ifeq ($(subdir),rt) librt-sysdep_routines += rt-sysdep -endif - -ifeq ($(subdir),debug) -CFLAGS-backtrace.c += -funwind-tables +librt-shared-only-routines += rt-sysdep endif ifeq ($(subdir),csu) @@ -26,6 +23,9 @@ CPPFLAGS-crtn.S += $(pic-ccflag) endif ASFLAGS-.os += $(pic-ccflag) +# libc.a and libc_p.a must be compiled with -fPIE/-fpie for static PIE. +ASFLAGS-.o += $(pie-default) +ASFLAGS-.op += $(pie-default) ifeq ($(subdir),elf) ifneq ($(o32-fpabi),) |