diff options
Diffstat (limited to 'meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch')
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch b/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch new file mode 100644 index 0000000000..d0d6e3c730 --- /dev/null +++ b/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 80be37351d995654f86b838f6b5ed47e8a90261b Mon Sep 17 00:00:00 2001 | ||
2 | From: Mingli Yu <mingli.yu@windriver.com> | ||
3 | Date: Fri, 23 Sep 2022 12:05:17 +0800 | ||
4 | Subject: [PATCH] CMakeLists.txt: not include import_executables.cmake | ||
5 | |||
6 | building failed since native does not generate import_executables.cmake | ||
7 | In fact, our building system will export the needed commands. | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe specific] | ||
10 | |||
11 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
12 | --- | ||
13 | CMakeLists.txt | 5 ----- | ||
14 | 1 file changed, 5 deletions(-) | ||
15 | |||
16 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
17 | index f9e2b1b..34924ba 100644 | ||
18 | --- a/CMakeLists.txt | ||
19 | +++ b/CMakeLists.txt | ||
20 | @@ -394,11 +394,6 @@ CHECK_LIBFMT() | ||
21 | ADD_SUBDIRECTORY(tpool) | ||
22 | CHECK_SYSTEMD() | ||
23 | |||
24 | -IF(CMAKE_CROSSCOMPILING AND NOT DEFINED CMAKE_CROSSCOMPILING_EMULATOR) | ||
25 | - SET(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Path to import_executables.cmake from a native build") | ||
26 | - INCLUDE(${IMPORT_EXECUTABLES}) | ||
27 | -ENDIF() | ||
28 | - | ||
29 | # | ||
30 | # Setup maintainer mode options. Platform checks are | ||
31 | # not run with the warning options as to not perturb fragile checks | ||
32 | -- | ||
33 | 2.25.1 | ||
34 | |||