[PATCH 3/3] Isolate test case execution from external environment

Joseph S. Myers joseph@codesourcery.com
Fri Apr 6 15:48:00 GMT 2012


On Fri, 6 Apr 2012, Siddhesh Poyarekar wrote:

> +ifndef test-lib-paths
> +ifeq ($(CC),gcc)

This conditional is never appropriate.  The compiler is always some form 
of GCC - possibly a cross compiler, possibly something including options 
such as "gcc -mx32".  You should use this logic, with $(CC) (probably 
together with $(CFLAGS)), unconditionally.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list