]> granicus.if.org Git - postgresql/commit
Fix ecpg test building process to not generate *.dSYM junk on Macs.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Oct 2010 04:55:15 +0000 (00:55 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Oct 2010 04:55:15 +0000 (00:55 -0400)
commit2f4b1498bcd025ce96f460416ccb68b2b992c485
tree1d0c50a473b5e4bc0f0f2d5185c311de1d59e728
parent4b67d83da5930f966b651ec78d3c0b6f8730041f
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