Fix ecpg test building process to not generate *.dSYM junk on Macs.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 72ba1f2c67e058755e21165ad8efcb0849abacd5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-10-20T04:55:03Z
Releases: 9.0.2
Fix ecpg test building process to not generate *.dSYM junk on Macs.

The trick is to not try to build executables directly from .c files,
but to always build the intermediate .o files.  For obscure reasons,
Darwin's version of gcc will leave debug cruft behind in the first
case but not the second.  Per complaint from Robert Haas.

Files

PathChange+/−
src/interfaces/ecpg/test/Makefile.regress modified +2 −1