[oe-commits] [openembedded-core] 05/25: go: Remove -fPIE -pie from SECURITY_PIE_CFLAGS
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 9 08:38:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit bb89849b5edb05a953586d190826a67ba87c1c5a
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sun Jul 23 17:47:48 2017 -0700
go: Remove -fPIE -pie from SECURITY_PIE_CFLAGS
External compilers will explicitly pass -fPIE -pie flags
unlike internal toolchain which does not use them, so the build
fails with external toolchains because, its passing these
flags to linker when building with -r option and fails to link
| /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/go/1.8.3-r0/recipe-sysroot-native/usr/bin/x86_64-bec-linux/x86_64-bec-linux-ld: -r and -pie may not be used together
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/go/go_1.8.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/go/go_1.8.bb b/meta/recipes-devtools/go/go_1.8.bb
index 091b131..ef8bc14 100644
--- a/meta/recipes-devtools/go/go_1.8.bb
+++ b/meta/recipes-devtools/go/go_1.8.bb
@@ -1,3 +1,4 @@
require go-${PV}.inc
require go.inc
TUNE_CCARGS_remove = "-march=mips32r2"
+SECURITY_PIE_CFLAGS_remove = "-fPIE -pie"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list