Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Do not build with -march=native
· 72581542
Andreas Tille
authored
Aug 26, 2018
72581542
Standards-Version: 4.2.0
· 038ca53c
Andreas Tille
authored
Aug 26, 2018
038ca53c
Upload to unstable
· 83af403e
Andreas Tille
authored
Aug 26, 2018
83af403e
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
83af403e
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)
...
...
debian/control
View file @
83af403e
...
...
@@ -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
...
...
debian/patches/no_march--native.patch
0 → 100644
View file @
83af403e
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)
debian/patches/series
View file @
83af403e
shared_and_static.patch
soversion.patch
no_march--native.patch