diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-09-01 00:39:43 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-09-01 00:39:43 +0400 |
commit | 45c8bb8f8cd221a0f4ad3c920a315eacea4fca94 (patch) | |
tree | 76f3f6f7754d99b4a692d336d0f1f4ac24c8d614 /newlib/configure.in | |
parent | 53fabb7b243f1f1f357d90978c142d75b7f6b711 (diff) |
2005-08-31 Paul Brook <paul@codesourcery.com>
* configure.host: Set have_crt0 to no for Arm targts when not
providing syscalls. Set sys_dir=arm unconditionally.
Default have_crt0 based on sys_dir.
* configure.in: Use have_crt0.
* libc/configure.in: Ditto.
* libc/sys/configure.in: Ditto.
* configure: Regenerate.
* libc/configure: Regenerate.
* libc/sys/configure: Regenerate.
* libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
Only build other files when providing syscalls.
* libc/sys/arm/Makefile.in: Regenerate.
* libc/sys/arm/aeabi_atexit.c: New file.
Diffstat (limited to 'newlib/configure.in')
-rw-r--r-- | newlib/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/configure.in b/newlib/configure.in index 84e1f745a..5374d67eb 100644 --- a/newlib/configure.in +++ b/newlib/configure.in @@ -139,7 +139,7 @@ AC_CONFIG_SUBDIRS(${configdirs}) CRT0= CRT0_DIR= -if test -n "${sys_dir}"; then +if test "x${have_crt0}" = "xyes"; then CRT0=crt0.o CRT0_DIR=libc/ fi |