Skip to content
Commits on Source (3)
libthread-pool (1.0.0-2) unstable; urgency=medium
* Do not build with -march=native
Closes: #906618
* Standards-Version: 4.2.0
-- Andreas Tille <tille@debian.org> Sun, 26 Aug 2018 14:56:11 +0200
libthread-pool (1.0.0-1) unstable; urgency=medium
* Initial release (Closes: #901207)
......
......@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 11~),
d-shlibs,
rename,
libgtest-dev
Standards-Version: 4.1.4
Standards-Version: 4.2.0
Vcs-Browser: https://salsa.debian.org/med-team/libthread-pool
Vcs-Git: https://salsa.debian.org/med-team/libthread-pool.git
Homepage: https://github.com/rvaser/libthread-pool
......
Description: Do not build with -march=native
Bug-Debian: https://bugs.debian.org/906618
Author: Andreas Tille <tille@debian.org>
Last-Update: Sun, 26 Aug 2018 14:53:02 +0200
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PRO
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -march=native")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
shared_and_static.patch
soversion.patch
no_march--native.patch