Skip to content

Commit

Permalink
Merge pull request #32807 from lbartoletti/patch-1
Browse files Browse the repository at this point in the history
Fix compilation with llvm > 6 (and arch=i386)
  • Loading branch information
m-kuhn committed Nov 20, 2019
2 parents 2b9921a + 5ad7f64 commit 59a766e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/CMakeLists.txt
Expand Up @@ -1268,6 +1268,7 @@ ENDIF (HAVE_OPENCL)
IF(NOT MSVC)
IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND (CMAKE_BUILD_TYPE MATCHES Release OR CMAKE_BUILD_TYPE MATCHES RelWithDebInfo))
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_BINARY_DIR}/qgsexpression_texts.cpp PROPERTIES COMPILE_FLAGS "-O1")
SET_SOURCE_FILES_PROPERTIES(qgscoordinatereferencesystem.cpp PROPERTIES COMPILE_FLAGS "-mllvm -inline-threshold=128")
ENDIF ()
ENDIF(NOT MSVC)

Expand Down

0 comments on commit 59a766e

Please sign in to comment.