diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2016-10-24 22:39:00 (GMT) |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2016-11-22 23:16:09 (GMT) |
commit | fdf35a2fa90ed6f190ea678821b1e2378c86c4f6 (patch) | |
tree | 0c148ae1fc19cef35c67d009e94c25ce9441ddc6 /samples/xtensa-unknown-linux-uclibc/crosstool.config | |
parent | 73b11177c22440dc3eb9aee5859d3592ae0b0c8d (diff) |
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 <jcmvbkbc@gmail.com>
Diffstat (limited to 'samples/xtensa-unknown-linux-uclibc/crosstool.config')
-rw-r--r-- | samples/xtensa-unknown-linux-uclibc/crosstool.config | 1 |
1 files changed, 1 insertions, 0 deletions
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 |