* stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command.

This commit is contained in:
Roland McGrath 2002-08-05 04:59:44 +00:00
parent 14a42f4502
commit 2a185b31a8
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,6 @@
2002-08-04 Roland McGrath <roland@frob.com> 2002-08-04 Roland McGrath <roland@redhat.com>
* stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command.
* elf/Makefile (test-srcs): Add $(modules-names) to it. * elf/Makefile (test-srcs): Add $(modules-names) to it.
(CFLAGS-vismod2.c, CFLAGS-failobj.c, CFLAGS-constload2.c, (CFLAGS-vismod2.c, CFLAGS-failobj.c, CFLAGS-constload2.c,

View File

@ -1,5 +1,5 @@
/* Check system header files for ISO 9899:1990 (ISO C) compliance. /* Check system header files for ISO 9899:1990 (ISO C) compliance.
Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc. Copyright (C) 1996,97,98,99,2001,02 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Jens Schweikhardt <schweikh@noc.dfn.de>, 1996. Contributed by Jens Schweikhardt <schweikh@noc.dfn.de>, 1996.
@ -177,7 +177,7 @@ static char *macros[] =
/* Format string to build command to invoke compiler. */ /* Format string to build command to invoke compiler. */
static const char fmt[] = "\ static const char fmt[] = "\
echo \"#include <%s>\" |\ echo \"#include <%s>\" |\
%s -E -dM -ansi -pedantic %s -D_LIBC -D_ISOMAC -I. \ %s -E -dM -ansi -pedantic %s -D_LIBC -D_ISOMAC -DNOT_IN_libc -I. \
-isystem `%s --print-prog-name=include` - 2> /dev/null > %s"; -isystem `%s --print-prog-name=include` - 2> /dev/null > %s";