mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
goarch: Dont use -fno-PIE on mips
This was added with
98b24e9268 goarch.bbclass: set SECURITY_CFLAGS for mips64
to overcome a problem that was inherent in go linker which has been now
fixed in golang compiler upstream
https://github.com/golang/go/issues/20243
39c07ce9e5
(From OE-Core rev: ea93adc30ee3d8e0baa0f374c92afb7c6a133b2a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -53,7 +53,6 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET_armv6 = "arm"
|
||||
|
||||
TUNE_CCARGS_remove = "-march=mips32r2"
|
||||
SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}"
|
||||
SECURITY_NOPIE_CFLAGS ??= ""
|
||||
|
||||
# go can't be built with ccache:
|
||||
|
||||
Reference in New Issue
Block a user