diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-02-08 04:30:58 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-02-08 04:30:58 +0000 |
commit | 313f13497935d2831e76f9b8b61ccc762dc1cc65 (patch) | |
tree | 93a01ca36804bb039081dda1b395c00fc83e8fd5 /newlib/configure.host | |
parent | 9cca06eea1c41b643d102bd00b121df86b12ec5f (diff) | |
download | cygnal-313f13497935d2831e76f9b8b61ccc762dc1cc65.tar.gz cygnal-313f13497935d2831e76f9b8b61ccc762dc1cc65.tar.bz2 cygnal-313f13497935d2831e76f9b8b61ccc762dc1cc65.zip |
2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
* acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
option to allow disabling of syscalls being supplied in newlib.
* aclocal.m4: Regenerated.
* configure: Ditto.
* configure.host: Add support of new configuration option and add
-D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
* doc/aclocal.m4: Regenerated.
* doc/configure: Ditto.
* libc/*aclocal.m4: Ditto.
* libc/*configure: Ditto.
* libm/*aclocal.m4: Ditto.
* libm/*configure: Ditto.
* libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
is disabled.
* libc/sys/arm/Makefile.in: Regenerated.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 4066c7073..15676aa6b 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -229,6 +229,12 @@ if [ "${newlib_multithread}" = "no" ] ; then newlib_cflags="${newlib_cflags} -D__SINGLE_THREAD__" fi +# Disable syscall support if requested. + +if [ "${newlib_may_supply_syscalls}" = "no" ] ; then + newlib_cflags="${newlib_cflags} -D__NO_SYSCALLS__" +fi + # Enable multibyte support if requested or it is defaulted # for target. |