This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]