diff options
author | Nivedita Swaminathan <nivedita.swaminathan@intel.com> | 2015-11-16 08:59:30 -0800 |
---|---|---|
committer | Nivedita Swaminathan <nivedita.swaminathan@intel.com> | 2015-11-16 08:59:30 -0800 |
commit | e9a1846ef97e77fe2b0157c0bfbcf18e84d6646f (patch) | |
tree | 752f2fec3d7594e6840c415270b81f00b77f98b6 | |
parent | 35057dc9d707076a9fe5fee17e2c8357a942e167 (diff) | |
download | powertop-2.0-e9a1846ef97e77fe2b0157c0bfbcf18e84d6646f.tar.gz |
Adding the PTHREAD_CFLAGS option
This option helps to compile powertop on systems with
ImplicitDSOLinking and recent GCC
Signed-off-by: Jaroslav Skarvada <jskarvad@redhat.com>
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d7132c0..87d8469 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -133,7 +133,8 @@ powertop_CXXFLAGS = \ $(GLIB2_CFLAGS) \ $(LIBNL_CFLAGS) \ $(NCURSES_CFLAGS) \ - $(PCIUTILS_CFLAGS) + $(PCIUTILS_CFLAGS) \ + $(PTHREAD_CFLAGS) powertop_CPPFLAGS = \ @@ -142,7 +143,8 @@ powertop_CPPFLAGS = \ $(LIBNL_CFLAGS) \ $(LIBZ_CFLAGS) \ $(NCURSES_CFLAGS) \ - $(PCIUTILS_CFLAGS) + $(PCIUTILS_CFLAGS) \ + $(PTHREAD_CFLAGS) powertop_LDADD = \ ../traceevent/libtraceevnet.la |