* move libffi to base/ Category
[t2sde.git] / package / develop / hyperscan / no-native-tune.patch
blob610a46954faae5f10e9eae01f87dbe9a20280b2a
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/hyperscan/no-native-tune.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- hyperscan-5.4.2/CMakeLists.txt.vanilla 2024-11-28 23:43:43.426666704 +0100
15 +++ hyperscan-5.4.2/CMakeLists.txt 2024-11-28 23:43:46.980000044 +0100
16 @@ -182,7 +182,7 @@
17 string(REGEX REPLACE "-O[^ ]*" "" CMAKE_CXX_FLAGS_${CONFIG} "${CMAKE_CXX_FLAGS_${CONFIG}}")
18 endforeach ()
20 - if (CMAKE_COMPILER_IS_GNUCC)
21 + if (0)
22 message(STATUS "gcc version ${CMAKE_C_COMPILER_VERSION}")
23 # If gcc doesn't recognise the host cpu, then mtune=native becomes
24 # generic, which isn't very good in some cases. march=native looks at