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:
authorJeff Johnston <jjohnstn@redhat.com>2008-03-07 21:16:35 +0300
committerJeff Johnston <jjohnstn@redhat.com>2008-03-07 21:16:35 +0300
commitc622842865283fd7b684683b1f12a6ab1519b09b (patch)
tree16eb24e8ff8dc0d12bae5ad4e9582cde361ed3b5 /newlib/configure.host
parent0382d26727416adf62287dfc0ce66aa9a38db95b (diff)
2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/getopt.h: Hide newlib extensions under the __need_getopt_newlib flag. * libc/stdlib/getopt.c: #define __need_getopt_newlib before including getopt.h. Put entire code under !HAVE_GETOPT to support platforms with their own getopt implementation. * configure.host: Specify HAVE_GETOPT for x86-linux.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 259e204b0..bbdfff31f 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -414,6 +414,7 @@ case "${host}" in
newlib_cflags="${newlib_cflags} -Wall"
newlib_cflags="${newlib_cflags} -D_I386MACH_ALLOW_HW_INTERRUPTS"
newlib_cflags="${newlib_cflags} -DHAVE_FCNTL"
+ newlib_cflags="${newlib_cflags} -DHAVE_GETOPT"
# --- Required when building a shared library ------------------------
newlib_cflags="${newlib_cflags} -fPIC -D_I386MACH_NEED_SOTYPE_FUNCTION"
# --- The three lines below are optional ------------------------------