This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
"ALL_BUILD_CFLAGS" and "native-compile" in Makerules
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 9 Dec 2003 22:31:55 +1100
- Subject: "ALL_BUILD_CFLAGS" and "native-compile" in Makerules
Hi
I've noticed some weirdness attributable to the use of "ALL_BUILD_CFLAGS"
and "native-compile" in the Makerules.
Essentially, a target .c file compiled with $(native-compile) will use the
headers from the host system and not those from within the Glibc source. Is
that what is desired? I suppose it is, judging by the "native" in the name.
But I was always under the impression that the Glibc build was pretty well
self-contained in the system header stakes.
The reason I noticed this is that a "make check" will fail to compile
elf/check-textrel.c if the host system doesn't have elf.h on it. Obviously,
this scenario is not very common, but it has come up a few times lately I've
noticed.
Anyway, no biggie but thought it worth mentioning.