]> granicus.if.org Git - postgresql/commitdiff
Don't disable ccache when building with coverage support
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 24 Sep 2019 08:00:56 +0000 (10:00 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 24 Sep 2019 08:00:56 +0000 (10:00 +0200)
This was working around a bug in ccache that was fixed in ccache
3.2.2 (released 2015-05-10).  (Users of older ccache versions can
continue to set CCACHE_DISABLE themselves.)

Discussion: https://www.postgresql.org/message-id/20190530191130.GA24528@alvherre.pgsql

src/Makefile.global.in

index dc3f207e1c4fbc48baa2bcf1a868c249af78216e..2d21068183b9125a712a0edecd9916e3dcf59764 100644 (file)
@@ -481,11 +481,6 @@ GCOV = @GCOV@
 LCOV = @LCOV@
 GENHTML = @GENHTML@
 
-ifeq ($(enable_coverage),yes)
-# ccache loses .gcno files
-export CCACHE_DISABLE = 1
-endif
-
 # Feature settings
 
 DEF_PGPORT = @default_port@