summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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