[med-svn] [Git][med-team/assembly-stats][master] Add -pthread as flag to fix gtest reference issues
Shayan Doust
gitlab at salsa.debian.org
Tue Jun 9 18:00:52 BST 2020
Shayan Doust pushed to branch master at Debian Med / assembly-stats
Commits:
2a0fd43d by Shayan Doust at 2020-06-09T18:00:11+01:00
Add -pthread as flag to fix gtest reference issues
- - - - -
1 changed file:
- debian/patches/use_debian_packages_gtest.patch
Changes:
=====================================
debian/patches/use_debian_packages_gtest.patch
=====================================
@@ -2,10 +2,14 @@ Author: Andreas Tille <tille at debian.org>
Last-Update: Tue, 09 Jun 2020 17:55:07 +0200
Description: Use Debian packaged gtest
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -4,9 +4,9 @@ project (assembly-stats)
- set (CMAKE_CXX_FLAGS "-Wall -O3")
+--- assembly-stats.orig/CMakeLists.txt
++++ assembly-stats/CMakeLists.txt
+@@ -1,12 +1,12 @@
+ cmake_minimum_required (VERSION 2.6)
+ project (assembly-stats)
+
+-set (CMAKE_CXX_FLAGS "-Wall -O3")
++set (CMAKE_CXX_FLAGS "-Wall -O3 -pthread")
file(COPY test_files DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
-add_subdirectory(gtest-1.7.0)
View it on GitLab: https://salsa.debian.org/med-team/assembly-stats/-/commit/2a0fd43d7a931036820174c5c582a068c7dd5050
--
View it on GitLab: https://salsa.debian.org/med-team/assembly-stats/-/commit/2a0fd43d7a931036820174c5c582a068c7dd5050
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200609/70151a69/attachment.html>
More information about the debian-med-commit
mailing list