summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-05-13 22:03:09 -0600
committerTavian Barnes <tavianator@gmail.com>2010-05-13 22:03:09 -0600
commitb5e150da42b64af5da5c3de0b9889ad6c581ee0c (patch)
tree8a21a187f9d9c8bbb7256a2fdc527661cda2e640 /libdimension
parent0e9b8ef384da1b75b1fc5a3f533ce82eadeb01c6 (diff)
downloaddimension-b5e150da42b64af5da5c3de0b9889ad6c581ee0c.tar.xz
Don't attempt to use profile data for profiling build.
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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