use CPPFLAGS at configure time

Alexandre Oliva aoliva@redhat.com
Fri Apr 4 02:25:00 GMT 2003


On Apr  3, 2003, Roland McGrath <roland@redhat.com> wrote:

> CPPFLAGS is not used for .s files.

Yeah, it doesn't *have* to be used for .s files, but it's not like it
hurts either, especially at configure time.  Also, I find it much
nicer to be consistent and use the same flags wherever we run the
compiler.

Besides, I'm (ab)using CPPFLAGS in the mips64-linux configury to pass
-mabi= to the compiler, and this affects the code generated by the
assembler.  If this patch can't go in, I'll have to switch to CFLAGS,
duplicating autoconf's logic for a default CFLAGS, which I'd rather
not do.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Libc-alpha mailing list