diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-29 10:43:59 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-30 23:39:09 +0000 |
commit | 89b336f24cfee1a613f406668ad1a8407c2c4fe2 (patch) | |
tree | f26b8268fe946dc217a778101c213235cc67c7a8 /meta/classes | |
parent | 28492364450fb205dc45b910f5c0f22cdc15c422 (diff) | |
download | poky-89b336f24cfee1a613f406668ad1a8407c2c4fe2.tar.gz |
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
https://github.com/golang/go/commit/39c07ce9e5311c94880789f19f2f8b49bf1b5241
(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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/goarch.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass index 1147b6d233..33d1a13acb 100644 --- a/meta/classes/goarch.bbclass +++ b/meta/classes/goarch.bbclass | |||
@@ -53,7 +53,6 @@ ARM_INSTRUCTION_SET_armv5 = "arm" | |||
53 | ARM_INSTRUCTION_SET_armv6 = "arm" | 53 | ARM_INSTRUCTION_SET_armv6 = "arm" |
54 | 54 | ||
55 | TUNE_CCARGS_remove = "-march=mips32r2" | 55 | TUNE_CCARGS_remove = "-march=mips32r2" |
56 | SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" | ||
57 | SECURITY_NOPIE_CFLAGS ??= "" | 56 | SECURITY_NOPIE_CFLAGS ??= "" |
58 | 57 | ||
59 | # go can't be built with ccache: | 58 | # go can't be built with ccache: |