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

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

Commit: d109b10edcafd2d152a6ae474a7d2ce78e97845f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-10-20T04:55:11Z
Releases: 8.3.13
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