[oe-commits] [openembedded-core] 09/23: goarch: Dont use -fno-PIE on mips

git at git.openembedded.org git at git.openembedded.org
Mon Dec 30 23:40:16 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit ea93adc30ee3d8e0baa0f374c92afb7c6a133b2a
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sun Dec 29 10:43:59 2019 -0800

    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
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Cc: Kai Kang <kai.kang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/goarch.bbclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index 1147b6d..33d1a13 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list