mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-23 17:17:32 +00:00
In the glibc and eglibc trees, the 'configure' files may be older than their source 'configure.in', when used from an svn check out, or a snapshot tarball.
They are nonetheless in sync and need not be regenerated. Fix that by touching the files to have 'make' believe they are up-to-date (which they are). /trunk/scripts/build/libc/glibc.sh | 5 5 0 0 +++++ /trunk/scripts/build/libc/eglibc.sh | 7 6 1 0 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
This commit is contained in:
@ -110,6 +110,11 @@ do_libc_extract() {
|
||||
CT_ExtractAndPatch "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}"
|
||||
done
|
||||
|
||||
# The configure files may be older than the configure.in files
|
||||
# if using a snapshot (or even some tarballs). Fake them being
|
||||
# up to date.
|
||||
find "${CT_SRC_DIR}/${CT_LIBC_FILE}" -type f -name configure -exec touch {} \; 2>&1 |CT_DoLog ALL
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
@ -118,7 +123,7 @@ do_libc_check_config() {
|
||||
:
|
||||
}
|
||||
|
||||
# This function installs the glibc headers needed to build the core compiler
|
||||
# This function installs the eglibc headers needed to build the core compiler
|
||||
do_libc_headers() {
|
||||
# Instead of doing two time the same actions, headers will
|
||||
# be installed with start files
|
||||
|
@ -46,6 +46,11 @@ do_libc_extract() {
|
||||
CT_ExtractAndPatch "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}"
|
||||
done
|
||||
|
||||
# The configure files may be older than the configure.in files
|
||||
# if using a snapshot (or even some tarballs). Fake them being
|
||||
# up to date.
|
||||
find "${CT_SRC_DIR}/${CT_LIBC_FILE}" -type f -name configure -exec touch {} \; 2>&1 |CT_DoLog ALL
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user