summaryrefslogtreecommitdiff
path: root/app-office/calligra/files/calligra-3.1.89-no-arch-detection.patch
blob: f4efa3d81a488c885f7a97b06b626ad816a2bf70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Avoid automagic CXXFLAG detection courtesy of dev-libs/vc.

Gentoo-bug: 584118

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -617,10 +617,6 @@
	    endif()
	endmacro()
 
-	if (NOT PACKAGERS_BUILD)
-	    # Optimize the whole Calligra for current architecture
-	    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
-	endif ()
     endif()
     set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH} )