[opencv] 14/71: fixed lintian warnings

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Mon Oct 17 20:16:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 2.4.13.1
in repository opencv.

commit 6677f81779760b1e35346653a7449d77dfb1a273
Author: Ilya Lavrenov <ilya.lavrenov at itseez.com>
Date:   Fri Jun 17 11:00:31 2016 +0300

    fixed lintian warnings
---
 cmake/OpenCVPackaging.cmake | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cmake/OpenCVPackaging.cmake b/cmake/OpenCVPackaging.cmake
index a4913ea..b57f465 100644
--- a/cmake/OpenCVPackaging.cmake
+++ b/cmake/OpenCVPackaging.cmake
@@ -266,6 +266,11 @@ ocv_get_lintian_version(LINTIAN_VERSION)
 set(LIBS_LINTIAN_OVERRIDES "binary-or-shlib-defines-rpath" # usr/lib/libopencv_core.so.2.4.12
                            "package-name-doesnt-match-sonames") # libopencv-calib3d2.4 libopencv-contrib2.4
 
+if(AARCH64 AND CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
+   # GCC 4.8 has a bug which sometimes causes it to produce non-PIC aarch64 code.
+   list(APPEND LIBS_LINTIAN_OVERRIDES "shlib-with-non-pic-code")
+endif()
+
 if(HAVE_opencv_python)
     set(PYTHON_LINTIAN_OVERRIDES "binary-or-shlib-defines-rpath" # usr/lib/python2.7/dist-packages/cv2.so
                                  "missing-dependency-on-numpy-abi")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list