Files
gentoo/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch
2020-07-22 21:25:17 +02:00

16 lines
526 B
Diff

--- 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")