mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-12 21:52:58 +00:00
libc/newlib: Add extra config for newlib.
So users can input config like --enable-newlib-register-fini. Reviewed-by: Michael Hope Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
This commit is contained in:
parent
e16b3b9e52
commit
e714fd6a14
@ -35,3 +35,9 @@ config LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS
|
||||
_write... If you plan to port newlib to a new
|
||||
platform/board, say Yes.
|
||||
|
||||
config LIBC_NEWLIB_EXTRA_CONFIG_ARRAY
|
||||
string
|
||||
prompt "Extra config for newlib"
|
||||
default ""
|
||||
help
|
||||
Extra flags to pass onto ./configure when configuring the newlib.
|
||||
|
@ -99,7 +99,8 @@ do_libc_start_files() {
|
||||
--host=${CT_BUILD} \
|
||||
--target=${CT_TARGET} \
|
||||
--prefix=${CT_PREFIX_DIR} \
|
||||
"${newlib_opts[@]}"
|
||||
"${newlib_opts[@]}" \
|
||||
"${CT_LIBC_NEWLIB_EXTRA_CONFIG_ARRAY[@]}"
|
||||
|
||||
CT_DoLog EXTRA "Building C library"
|
||||
CT_DoExecLog ALL make ${JOBSFLAGS}
|
||||
|
Loading…
x
Reference in New Issue
Block a user