busybox: fix compilation with GCC 10
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 13 May 2021 13:23:26 +0000 (16:23 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Wed, 18 Aug 2021 17:48:38 +0000 (20:48 +0300)
commit8ae3d5f9ca17756ff73db6117784f426a8c6226b
treec706d4e25579dd2a2148c040e65ac3052185c63b
parenta43da1be43ae251f0edaa6419612e600fc6ec972
busybox: fix compilation with GCC 10

When compiling busybox with GCC 10 and CONFIG_PKG_ASLR_PIE_ALL=y, there
are hundreds of errors like:

relocation R_MIPS16_26 against `xzalloc' cannot be used when making a
shared object; recompile with -fPIC

Simply solve this by no longer disabling PKG_ASLR_PIE, so that $(FPIC)
is properly added to the CFLAGS and LDFLAGS.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
package/utils/busybox/Makefile