From b5e150da42b64af5da5c3de0b9889ad6c581ee0c Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 13 May 2010 22:03:09 -0600 Subject: Don't attempt to use profile data for profiling build. --- libdimension/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdimension') diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am index a732843..4dd8105 100644 --- a/libdimension/Makefile.am +++ b/libdimension/Makefile.am @@ -104,7 +104,7 @@ if PGO noinst_LTLIBRARIES = libdimension-pgo.la libdimension_pgo_la_SOURCES = $(libdimension_la_SOURCES) libdimension_pgo_la_LIBADD = $(libdimension_la_LIBADD) -lgcov -libdimension_pgo_la_CFLAGS = $(libdimension_la_CFLAGS) -fprofile-generate=$$(readlink -f $(builddir))/pgo +libdimension_pgo_la_CFLAGS = $(AM_CFLAGS) -pthread -fprofile-generate=$$(readlink -f $(builddir))/pgo libdimension_la_CFLAGS += -fprofile-correction -fprofile-use=./pgo -- cgit v1.2.3