This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/3] Isolate test case execution from external environment
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 6 Apr 2012 15:48:10 +0000 (UTC)
- Subject: Re: [PATCH 3/3] Isolate test case execution from external environment
- References: <20120406201902.404c2068@spoyarek>
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