diff options
Diffstat (limited to 'sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch')
-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") |