OSDN Git Service

Fix ecpg test building process to not generate *.dSYM junk on Macs.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Oct 2010 04:54:58 +0000 (00:54 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Oct 2010 04:54:58 +0000 (00:54 -0400)
commitc75e1436467f32a06b5ab9d594d2a390e7f4594d
tree7f9906565fae8d403e87a5cf9cd1e668211bf8e3
parent4b6623a7e8f0f0116ff68ebfd4c98830fe59419d
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.
src/interfaces/ecpg/test/Makefile.regress