From fdf35a2fa90ed6f190ea678821b1e2378c86c4f6 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Mon, 24 Oct 2016 22:39:00 +0000 Subject: samples: add target CFLAGS to xtensa-unknown-linux-uclibc Add -mlongcalls and -mtext-section-literals to target CFLAGS. Target libraries built with these flags have great call range, useful for linux applications. Signed-off-by: Max Filippov diff --git a/samples/xtensa-unknown-linux-uclibc/crosstool.config b/samples/xtensa-unknown-linux-uclibc/crosstool.config index d383fbd..c9e138e 100644 --- a/samples/xtensa-unknown-linux-uclibc/crosstool.config +++ b/samples/xtensa-unknown-linux-uclibc/crosstool.config @@ -2,6 +2,7 @@ CT_LOCAL_TARBALLS_DIR="${HOME}/src" CT_SAVE_TARBALLS=y CT_LOG_EXTRA=y CT_ARCH_BE=y +CT_TARGET_CFLAGS="-mlongcalls -mtext-section-literals" CT_ARCH_xtensa=y CT_KERNEL_linux=y CT_LIBC_uClibc=y -- cgit v0.10.2-6-g49f6