diff mbox series

goarch: Dont use -fno-PIE on mips

Message ID 20191217205623.2475798-1-raj.khem@gmail.com
State Superseded
Headers show
Series goarch: Dont use -fno-PIE on mips | expand

Commit Message

Khem Raj Dec. 17, 2019, 8:56 p.m. UTC
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Cc: Kai Kang <kai.kang@windriver.com>
---
 meta/classes/goarch.bbclass | 1 -
 1 file changed, 1 deletion(-)

-- 
2.24.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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"
 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: