[clblas] 01/02: d/p: add patch disabling multilib cflags
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jun 18 08:57:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository clblas.
commit 76757da78fb849a4b6fcb19bb8f09830879c259c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Thu Jun 18 09:52:52 2015 +0100
d/p: add patch disabling multilib cflags
---
debian/patches/disable-multilib-compile-flags.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/disable-multilib-compile-flags.patch b/debian/patches/disable-multilib-compile-flags.patch
new file mode 100644
index 0000000..86286ac
--- /dev/null
+++ b/debian/patches/disable-multilib-compile-flags.patch
@@ -0,0 +1,15 @@
+--- clblas.orig/src/CMakeLists.txt
++++ clblas/src/CMakeLists.txt
+@@ -225,9 +225,9 @@
+ # Don't use -rpath.
+ set(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE)
+
+- set(CMAKE_C_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_C_FLAGS}")
+- set(CMAKE_CXX_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_CXX_FLAGS}")
+- set(CMAKE_Fortran_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_Fortran_FLAGS}")
++ #set(CMAKE_C_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_C_FLAGS}")
++ #set(CMAKE_CXX_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_CXX_FLAGS}")
++ #set(CMAKE_Fortran_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_Fortran_FLAGS}")
+
+ if(TARGET_PLATFORM EQUAL 32)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-builtin")
diff --git a/debian/patches/series b/debian/patches/series
index 57112ef..cb3ec2d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix-doxygen-settings.patch
debian-enable-multiarch.patch
+disable-multilib-compile-flags.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git
More information about the debian-science-commits
mailing list