From 4ad75674549fc0f206f967b7b287769080c3eba9 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 19 Jun 2014 15:29:20 +1000 Subject: external-xilinx-toolchain: Enforce default hash style * Some packages do not correctly handle LDFLAGS, as such toolchains that do not by default use GNU_HASH for symbols generated are not built with the GNU_HASH which causes a QA issue. * Add the expected linker hash style to TARGET_CC_ARCH to enforce the specified hash style. Signed-off-by: Nathan Rossi --- conf/distro/include/tcmode-external-xilinx.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/distro/include/tcmode-external-xilinx.inc b/conf/distro/include/tcmode-external-xilinx.inc index a4786e8b..6fb4f225 100644 --- a/conf/distro/include/tcmode-external-xilinx.inc +++ b/conf/distro/include/tcmode-external-xilinx.inc @@ -36,6 +36,8 @@ GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled" ENABLE_BINARY_LOCALE_GENERATION = "" TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" +# Fix up default hash, enforce it in for CC_ARCH for packages that ignore LDFLAGS. +TARGET_CC_ARCH_append += "${TARGET_LINK_HASH_STYLE}" # Default sysroot is inside the Xilinx ARM v7-A toolchain in the '/libc' (no debug-root) EXTERNAL_TOOLCHAIN_SYSROOT_armv7a ??= "${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}/libc" -- cgit v1.2.3-54-g00ecf