mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
klibc-static-utils: really fix build for x86 with security flags enabled
There were some shared binaries built together with the static ones and this was leading to the infamous: i586-oe-linux-musl-ld.bfd: discarded output section: `.got.plt' Fix this by purging the Kbuild files. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -11,6 +11,8 @@ KLIBC_UTILS_PKGNAME = "klibc-static-utils"
|
||||
require klibc-utils.inc
|
||||
require klibc.inc
|
||||
|
||||
SRC_URI += "file://0001-klibc-static-utils-do-not-build-shared-binaries.patch"
|
||||
|
||||
# avoid textrel if linking with -pie
|
||||
SECURITY_CFLAGS = ""
|
||||
SECURITY_LDFLAGS = ""
|
||||
|
||||
Reference in New Issue
Block a user