diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /sci-libs/libspatialindex/files | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'sci-libs/libspatialindex/files')
-rw-r--r-- | sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch b/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch new file mode 100644 index 000000000000..f96fbe11c94c --- /dev/null +++ b/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -117,12 +117,6 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${SIDX_BUILD_OUTPUT_DIRECTORY}) + # Platform and compiler specific settings + #------------------------------------------------------------------------------ + +-if(NOT WIN32) +- # Recommended C++ compilation flags +- set(SIDX_COMMON_CXX_FLAGS +- "-pedantic -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long") +-endif(NOT WIN32) +- + if (APPLE) + set(SO_EXT dylib) + set(CMAKE_FIND_FRAMEWORK "LAST") |