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
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')
-rwxr-xr-xnewlib/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/configure b/newlib/configure
index 9bbb089a9..31b790f2a 100755
--- a/newlib/configure
+++ b/newlib/configure
@@ -12442,7 +12442,7 @@ CRT0=
CRT0_DIR=
if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o
- CRT0_DIR=libc/
+ CRT0_DIR=libc/sys/${sys_dir}/
fi
if test x$have_crt0 = xyes; then
HAVE_CRT0_TRUE=