newlib: Apply autoreconf -i after adding kolibrios
Signed-off-by: Max Logaev <maxlogaev@proton.me>
This commit is contained in:
@@ -16,8 +16,6 @@ ExternalProject_Add(
|
||||
newlib
|
||||
SOURCE_DIR ${NEWLIB_SRC_DIR}
|
||||
CONFIGURE_COMMAND
|
||||
autoreconf -i ${NEWLIB_SRC_DIR}/newlib
|
||||
COMMAND
|
||||
${NEWLIB_SRC_DIR}/newlib/configure
|
||||
--host=i586-kolibrios
|
||||
--prefix=${KOS_SDK_DIR}
|
||||
|
||||
2
libraries/newlib/config.sub
vendored
2
libraries/newlib/config.sub
vendored
@@ -1749,7 +1749,7 @@ case $os in
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
||||
| fiwix* )
|
||||
| fiwix* | kolibrios* )
|
||||
;;
|
||||
# This one is extra strict with allowed versions
|
||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||
|
||||
File diff suppressed because one or more lines are too long
13
libraries/newlib/newlib/configure
vendored
13
libraries/newlib/newlib/configure
vendored
@@ -775,6 +775,8 @@ ENABLE_NEWLIB_ICONV_FALSE
|
||||
ENABLE_NEWLIB_ICONV_TRUE
|
||||
HAVE_LONG_DOUBLE_FALSE
|
||||
HAVE_LONG_DOUBLE_TRUE
|
||||
HAVE_LIBC_SYS_KOLIBRIOS_DIR_FALSE
|
||||
HAVE_LIBC_SYS_KOLIBRIOS_DIR_TRUE
|
||||
HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE
|
||||
HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE
|
||||
HAVE_LIBC_SYS_W65_DIR_FALSE
|
||||
@@ -5519,6 +5521,13 @@ else
|
||||
HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE='#'
|
||||
HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE=
|
||||
fi
|
||||
if test "${sys_dir}" = kolibrios; then
|
||||
HAVE_LIBC_SYS_KOLIBRIOS_DIR_TRUE=
|
||||
HAVE_LIBC_SYS_KOLIBRIOS_DIR_FALSE='#'
|
||||
else
|
||||
HAVE_LIBC_SYS_KOLIBRIOS_DIR_TRUE='#'
|
||||
HAVE_LIBC_SYS_KOLIBRIOS_DIR_FALSE=
|
||||
fi
|
||||
|
||||
|
||||
|
||||
@@ -7703,6 +7712,10 @@ if test -z "${HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_Z8KSIM
|
||||
as_fn_error $? "conditional \"HAVE_LIBC_SYS_Z8KSIM_DIR\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${HAVE_LIBC_SYS_KOLIBRIOS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_KOLIBRIOS_DIR_FALSE}"; then
|
||||
as_fn_error $? "conditional \"HAVE_LIBC_SYS_KOLIBRIOS_DIR\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${HAVE_LONG_DOUBLE_TRUE}" && test -z "${HAVE_LONG_DOUBLE_FALSE}"; then
|
||||
as_fn_error $? "conditional \"HAVE_LONG_DOUBLE\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
|
||||
Reference in New Issue
Block a user