From 8bb6436295cfe4329ced0d01a4076662b59637b8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 14 Oct 2015 17:43:12 -0700 Subject: uclibc: Fix build with gcc5 An agressive optimization in gcc5 meant that we get linking errors with uclibc build, this patch fixes the issue by letting gcc know that these funcitons are used. Change-Id: I8ecf3999a0855b3bbf4bc2df576be5351f9be5b0 (From OE-Core rev: 458bfefecdd2b5e2efa743f29d3dc8b3471e6df1) Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/uclibc/uclibc-git.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-core/uclibc/uclibc-git.inc') diff --git a/meta/recipes-core/uclibc/uclibc-git.inc b/meta/recipes-core/uclibc/uclibc-git.inc index 14a577f432..9e3d64408c 100644 --- a/meta/recipes-core/uclibc/uclibc-git.inc +++ b/meta/recipes-core/uclibc/uclibc-git.inc @@ -16,5 +16,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master \ file://0005-Always-use-O2-for-compiling-fork.c.patch \ file://0006-ldso-limited-support-for-ORIGIN-in-rpath.patch \ file://0007-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ + file://0001-gcc5-optimizes-away-the-write-only-static-functions-.patch \ " S = "${WORKDIR}/git" -- cgit v1.2.3-54-g00ecf