[clfft] 40/109: Adding missing '-pthread' to the C/C++ compiler flags, since the library makes use of pthreads
Jérôme Kieffer
kieffer-guest at moszumanska.debian.org
Wed May 20 07:29:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
kieffer-guest pushed a commit to branch debian
in repository clfft.
commit 1572a59c09de463b3bfdc1c4db10d0ddbc1f3d67
Author: Andrey Gursky <andrey.gursky at e-mail.ua>
Date: Wed Feb 5 14:42:24 2014 +0100
Adding missing '-pthread' to the C/C++ compiler flags, since the library makes use of pthreads
---
src/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ad2484b..9c6f1b0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -197,6 +197,9 @@ elseif( CMAKE_COMPILER_IS_GNUCXX )
# we only want c++0x if we're using gcc 4.5.2
set( CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}" )
endif()
+
+ set( CMAKE_CXX_FLAGS "-pthread ${CMAKE_CXX_FLAGS}" )
+ set( CMAKE_C_FLAGS "-pthread ${CMAKE_C_FLAGS}" )
if( BUILD64 )
set( CMAKE_CXX_FLAGS "-m64 ${CMAKE_CXX_FLAGS}" )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git
More information about the debian-science-commits
mailing list