diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2016-12-07 16:52:21 -0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-12-08 15:10:22 +0100 |
commit | 3fb992b4a31755f1c289dbf1f1f25dfbd8557303 (patch) | |
tree | 7427ae835cd999ba80dea86f4fe1e43618c9ec87 /app-office/calligra/files | |
parent | app-office/calligra: add SLOT to media-libs/glew dependency (diff) | |
download | gentoo-3fb992b4a31755f1c289dbf1f1f25dfbd8557303.tar.gz gentoo-3fb992b4a31755f1c289dbf1f1f25dfbd8557303.tar.bz2 gentoo-3fb992b4a31755f1c289dbf1f1f25dfbd8557303.zip |
app-office/calligra: Fix bug 584118
Prevent calligra from adding CPU flags automatically.
Reported-by: Alec Ari
Gentoo-bug: 584118
Closes: https://github.com/gentoo/gentoo/pull/3050
Package-Manager: portage-2.3.3
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Signed-off-by: Johannes Huber <johu@gentoo.org>
Diffstat (limited to 'app-office/calligra/files')
-rw-r--r-- | app-office/calligra/files/calligra-2.9.1-no-arch-detection.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-office/calligra/files/calligra-2.9.1-no-arch-detection.patch b/app-office/calligra/files/calligra-2.9.1-no-arch-detection.patch new file mode 100644 index 000000000000..85f401bbd616 --- /dev/null +++ b/app-office/calligra/files/calligra-2.9.1-no-arch-detection.patch @@ -0,0 +1,14 @@ +--- a/CMakeLists.txt 2016-12-07 12:48:03.771533639 -0200 ++++ b/CMakeLists.txt 2016-12-07 12:49:07.534866207 -0200 +@@ -441,11 +441,6 @@ + endif() + endmacro() + endif() +- +- 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} ) + |