2ca10d47cc3fb0f03ab08a8dd43da6aaa32396b4
[openwrt/openwrt.git] / toolchain / uClibc / patches-0.9.33.2 / 210-mips_use_pic_crt1.patch
1 --- a/libc/sysdeps/linux/mips/Makefile.arch
2 +++ b/libc/sysdeps/linux/mips/Makefile.arch
3 @@ -20,6 +20,8 @@ ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
4 SSRC += vfork.S clone.S
5 endif
6
7 +CFLAGS-crt1.S += $(PICFLAG)
8 +
9 ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT
10
11 ARCH_HEADERS := sgidefs.h