diff options
author | joerg <joerg@pkgsrc.org> | 2014-11-26 12:25:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-11-26 12:25:49 +0000 |
commit | 9cf84ac3443dc8342ea4f80a5a6a894ab7060bbe (patch) | |
tree | 2d8185776759195f327beada29c409231e629367 /editors/kate/patches | |
parent | 88d9441de47bf46d30a3c0662b9f88455b6c1131 (diff) | |
download | pkgsrc-9cf84ac3443dc8342ea4f80a5a6a894ab7060bbe.tar.gz |
Restrict one of the test cases to -O0. Due to required inlining, some
functions are extremely large and depending on how early the
selected compiler decides to bail out with optimisation, it can grow
extremely large.
Diffstat (limited to 'editors/kate/patches')
-rw-r--r-- | editors/kate/patches/patch-tests_CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/kate/patches/patch-tests_CMakeLists.txt b/editors/kate/patches/patch-tests_CMakeLists.txt new file mode 100644 index 00000000000..aac7daaecd6 --- /dev/null +++ b/editors/kate/patches/patch-tests_CMakeLists.txt @@ -0,0 +1,17 @@ +$NetBSD: patch-tests_CMakeLists.txt,v 1.1 2014/11/26 12:25:49 joerg Exp $ + +More a compiler memory test than a functional test otherwise +with functions larger than 500KB+. + +--- tests/CMakeLists.txt.orig 2014-10-26 20:17:55.000000000 +0000 ++++ tests/CMakeLists.txt +@@ -101,8 +101,7 @@ target_link_libraries( searchbar_test + ########### vimode test ############### + + kde4_add_unit_test(vimode_test TESTNAME kate-vimode_test vimode_test.cpp) +- +- ++set_source_files_properties(vimode_test.cpp PROPERTIES COMPILE_FLAGS -O0) + + target_link_libraries( vimode_test + ${KDE4_KDEUI_LIBS} |