[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7084/8267] go: Remove -fPIE -pie from SECURITY_PIE_CFLAGS
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 7084/8267] go: Remove -fPIE -pie from SECURITY_PIE_CFLAGS
- Date: Sun, 17 Dec 2017 05:45:06 +0000 (UTC)
commit e577be00d7e5679724b6af915b5288192059539f
Author: Khem Raj <raj khem gmail com>
Date: 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
(From OE-Core rev: bb89849b5edb05a953586d190826a67ba87c1c5a)
Signed-off-by: Khem Raj <raj khem gmail com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-devtools/go/go_1.8.bb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]