diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb')
-rw-r--r-- | meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb index e688d6ede2..cf7d8d876b 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb | |||
@@ -42,9 +42,10 @@ CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0 | |||
42 | 42 | ||
43 | export HUGETLB_LDSCRIPT_PATH = "${S}/ldscripts" | 43 | export HUGETLB_LDSCRIPT_PATH = "${S}/ldscripts" |
44 | 44 | ||
45 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
46 | |||
47 | LDFLAGS += "-B${S}" | 45 | LDFLAGS += "-B${S}" |
46 | # glibc objects have missing symbols from libgcc that compiler-rt does not provide | ||
47 | # /usr/src/debug/glibc/2.41+git/stdio-common/../stdio-common/printf_fphex.c:123:(.text+0x77): undefined reference to `__unordtf2' | ||
48 | LDFLAGS:append:libc-glibc:toolchain-clang:x86 = " --rtlib=libgcc --unwindlib=libgcc" | ||
48 | 49 | ||
49 | inherit autotools-brokensep | 50 | inherit autotools-brokensep |
50 | 51 | ||