diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-10-14 17:43:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-27 07:24:25 +0000 |
commit | 8bb6436295cfe4329ced0d01a4076662b59637b8 (patch) | |
tree | 0f2ad69e3b350087e0349de229da833e6806e8fb /meta/recipes-core/uclibc/uclibc-git.inc | |
parent | e5e8fce81a0501040235b2f680e1724d40f2f30e (diff) | |
download | poky-8bb6436295cfe4329ced0d01a4076662b59637b8.tar.gz |
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 <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git.inc')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ | |||
16 | file://0005-Always-use-O2-for-compiling-fork.c.patch \ | 16 | file://0005-Always-use-O2-for-compiling-fork.c.patch \ |
17 | file://0006-ldso-limited-support-for-ORIGIN-in-rpath.patch \ | 17 | file://0006-ldso-limited-support-for-ORIGIN-in-rpath.patch \ |
18 | file://0007-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ | 18 | file://0007-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ |
19 | file://0001-gcc5-optimizes-away-the-write-only-static-functions-.patch \ | ||
19 | " | 20 | " |
20 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |