Bas Couwenberg pushed to branch master at Debian GIS Project / jeolib-miallib
Commits: cdfb083d by Bas Couwenberg at 2026-01-07T12:43:36+01:00 Add patch to use buildflags set in the environment. (closes: #1124862) - - - - - 4 changed files: - debian/changelog - − debian/libmiallib1.lintian-overrides - + debian/patches/buildflags.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -3,6 +3,8 @@ jeolib-miallib (1.1.7-3) UNRELEASED; urgency=medium * Team upload. * Drop Priority: optional, default since dpkg 1.22.13. * Bump Standards-Version to 4.7.3, changes: priority. + * Add patch to use buildflags set in the environment. + (closes: #1124862) -- Bas Couwenberg <[email protected]> Sat, 03 Jan 2026 13:58:15 +0100 ===================================== debian/libmiallib1.lintian-overrides deleted ===================================== @@ -1,4 +0,0 @@ -# Build uses -D_FORTIFY_SOURCE=2, but hardening-check reports: -# Fortify Source functions: no, only unprotected functions found! -hardening-no-fortify-functions [*] - ===================================== debian/patches/buildflags.patch ===================================== @@ -0,0 +1,27 @@ +Description: Don't overwrite CMAKE_C{,XX}_FLAGS. +Author: Bas Couwenberg <[email protected]> +Bug-Debian: https://bugs.debian.org/1124862 +Forwarded: https://github.com/ec-jrc/jeolib-miallib/pull/9 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -359,10 +359,9 @@ if(PROCESS_IN_PARALLEL) + find_package(OpenMP REQUIRED) + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") +- set (CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") + set(PARALLEL_BOOL 1) + message(STATUS "parallel processing: ${PARALLEL_BOOL}") +- SET(CMAKE_C_FLAGS "-DOPENMP=${PARALLEL_BOOL}") ++ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DOPENMP=${PARALLEL_BOOL}") + target_link_libraries(${MIALLIB_LIB_NAME} OpenMP::OpenMP_CXX) + # string(REPLACE ".so" "_omp.so" FFTW_OMP_LIBRARIES "${FFTW_LIBRARIES}") + message(STATUS "FFTW_OMP_LIBRARIES: ${FFTW_OMP_LIBRARIES}") +@@ -375,7 +374,6 @@ endif(PROCESS_IN_PARALLEL) + find_package(PkgConfig REQUIRED) + + set(BLA_VENDOR OpenBLAS) +-set(CMAKE_C_FLAGS -fopenmp) + #find_package(BLAS REQUIRED) + + find_package(GSL REQUIRED) ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ libdir.patch +buildflags.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/jeolib-miallib/-/commit/cdfb083dc41b6baf3e11073e284be86cf890dabe -- View it on GitLab: https://salsa.debian.org/debian-gis-team/jeolib-miallib/-/commit/cdfb083dc41b6baf3e11073e284be86cf890dabe You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
