From b000bc94cd37d3f41e9e0144c02b4cfe4066a351 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 28 Sep 2008 21:34:11 +0000 Subject: 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(-) --- scripts/build/libc/eglibc.sh | 7 ++++++- scripts/build/libc/glibc.sh | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh index 29e2719e..a803b5e3 100644 --- a/scripts/build/libc/eglibc.sh +++ b/scripts/build/libc/eglibc.sh @@ -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 diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 2f780078..844f9495 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -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 } -- cgit v1.2.3