-
-
CPPFLAGS.native is a hack that's currently needed only three places in the libc build for compiling genassym.c (yes, using headers from the proto area)
We get away with that because genassym.c only calls printf, and hopes the proto area is "good enough" for linking this with a native libc. -
I guess I always considered CPPFLAGS.native a companion to NATIVECC and that you'd want to use them together, which is where the confusion is coming from.
-
I agree with Robert about what this is for, and that it should not use the proto, and libc (and anything else) should explicitly use the proto.
That said, I distintcly remember trying to fix this problem in that way and it not working out, so I'm ok with doing this Gordon's way and holding my nose -- if it works -- as long as we get a bug on file saying basically what Robert has said here.
-
Opened #6364 to track the CPPFLAGS.native issue.
-
You two OK with this change now?
-
-