[deal.ii] 01/01: Use -fPIC instead of -fpic to fix FTBFS on arm64
Graham Inggs
ginggs at moszumanska.debian.org
Fri Apr 1 10:28:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
ginggs pushed a commit to branch master
in repository deal.ii.
commit a81f07417a388c9f1acc8158eefa55c11defebce
Author: Graham Inggs <ginggs at debian.org>
Date: Fri Apr 1 12:28:23 2016 +0200
Use -fPIC instead of -fpic to fix FTBFS on arm64
---
debian/changelog | 6 ++++++
debian/patches/series | 1 +
debian/patches/use_fPIC_instead_of_fpic.patch | 15 +++++++++++++++
3 files changed, 22 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8630a2a..01da72e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+deal.ii (8.1.0-7) UNRELEASED; urgency=medium
+
+ * Use -fPIC instead of -fpic to fix FTBFS on arm64, thanks Matthias Klose
+
+ -- Graham Inggs <ginggs at debian.org> Fri, 01 Apr 2016 12:26:46 +0200
+
deal.ii (8.1.0-6) unstable; urgency=medium
* Revert fix for doxygen deal.tag since it moved back
diff --git a/debian/patches/series b/debian/patches/series
index e711d29..4b191ac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
fix_suitesparse.patch
use_local_deal_ico.patch
fix_parameter_handler_cxx11.patch
+use_fPIC_instead_of_fpic.patch
diff --git a/debian/patches/use_fPIC_instead_of_fpic.patch b/debian/patches/use_fPIC_instead_of_fpic.patch
new file mode 100644
index 0000000..deac897
--- /dev/null
+++ b/debian/patches/use_fPIC_instead_of_fpic.patch
@@ -0,0 +1,15 @@
+Description: Use -fPIC instead of -fpic
+ This avoids 'Too many GOT entries' on arm64.
+Author: Graham Inggs <ginggs at debian.org>
+Last-Update: 2016-03-31
+--- a/cmake/setup_compiler_flags_gnu.cmake
++++ b/cmake/setup_compiler_flags_gnu.cmake
+@@ -47,7 +47,7 @@
+ #
+ # Set the pic flag.
+ #
+-ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-fpic")
++ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-fPIC")
+
+ #
+ # Check whether the -as-needed flag is available. If so set it to link
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/deal.ii.git
More information about the debian-science-commits
mailing list