Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-28 15:24:18 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-28 15:27:19 +0300
commit7a4bef590b37683b08ebaee384d0694b9afccc57 (patch)
treeeb5f5a84c93c7360562c37f478ce7c1a7e17e4b6 /newlib/configure.ac
parent9d3352416413817b37b13277cb44308651c42121 (diff)
newlib: hoist crt0 install up another dir
Commit dd23de27c8e45513ad276f503a0036c3bc4e487b ("newlib: libc: install CRT0 straight out of subdir") got rid of the libc/sys/ intermediate for copying the file up, but the top-level newlib/ dir was still expecting a libc/crt0.o to exist so it could install. Update that to also look for the crt0 file directly under libc/ like we already do for crt1.
Diffstat (limited to 'newlib/configure.ac')
-rw-r--r--newlib/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/configure.ac b/newlib/configure.ac
index 13f318922..cac2d7296 100644
--- a/newlib/configure.ac
+++ b/newlib/configure.ac
@@ -361,7 +361,7 @@ CRT0=
CRT0_DIR=
if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o
- CRT0_DIR=libc/
+ CRT0_DIR=libc/sys/${sys_dir}/
fi
AM_CONDITIONAL(HAVE_CRT0, test x$have_crt0 = xyes)
AC_SUBST(CRT0)