This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Cross-rpcgen patch, version 4
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org, Allan McRae <allan at archlinux dot org>
- Date: Wed, 25 Apr 2012 14:46:40 -0700 (PDT)
- Subject: Re: Cross-rpcgen patch, version 4
- References: <Pine.LNX.4.64.1204252111080.15964@digraph.polyomino.org.uk>
> +build-compile-command.c = $(BUILD_CC) $($(basename $(<F))-CFLAGS) \
> + $(ALL_BUILD_CFLAGS) $< $(OUTPUT_OPTION)
A variable of this name should include -c, since it's parallel to
compile-command.c. If it's not going to include the dependency-generation
flags, then it should be called build-compile.c instead, since it's really
parallel to compile.c and not to compile-command.c.
If it's not prohibitively hairy, making it do the automatic dependencies
stuff would be nice.
Thanks,
Roland