summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch')
-rw-r--r--meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch41
1 files changed, 6 insertions, 35 deletions
diff --git a/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch b/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch
index 68d9c3a3c..0d016ccb4 100644
--- a/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch
+++ b/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch
@@ -1,6 +1,6 @@
1From 4fa437782261c0da785d4574ad3a03700f624e66 Mon Sep 17 00:00:00 2001 1From 9f5afd99cce93e68996deb2b5fa7c32737d279fe Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 19 Sep 2023 02:56:09 +0000 3Date: Tue, 16 Jul 2024 17:54:29 +0800
4Subject: [PATCH] cmake: remove build flags 4Subject: [PATCH] cmake: remove build flags
5 5
6Don't generate the build host related info and reemove the build flags 6Don't generate the build host related info and reemove the build flags
@@ -11,11 +11,10 @@ Upstream-Status: Inappropriate [oe specific]
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12--- 12---
13 config/cmake/libhdf5.settings.cmake.in | 18 +++++++++--------- 13 config/cmake/libhdf5.settings.cmake.in | 18 +++++++++---------
14 src/H5make_libsettings.c | 17 ----------------- 14 1 file changed, 9 insertions(+), 9 deletions(-)
15 2 files changed, 9 insertions(+), 26 deletions(-)
16 15
17diff --git a/config/cmake/libhdf5.settings.cmake.in b/config/cmake/libhdf5.settings.cmake.in 16diff --git a/config/cmake/libhdf5.settings.cmake.in b/config/cmake/libhdf5.settings.cmake.in
18index f60f0de..f4433c0 100644 17index deb07ed..6f255c4 100644
19--- a/config/cmake/libhdf5.settings.cmake.in 18--- a/config/cmake/libhdf5.settings.cmake.in
20+++ b/config/cmake/libhdf5.settings.cmake.in 19+++ b/config/cmake/libhdf5.settings.cmake.in
21@@ -23,23 +23,23 @@ Linking Options: 20@@ -23,23 +23,23 @@ Linking Options:
@@ -28,7 +27,7 @@ index f60f0de..f4433c0 100644
28 AM_LDFLAGS: @AM_LDFLAGS@ 27 AM_LDFLAGS: @AM_LDFLAGS@
29 Extra libraries: @LINK_LIBS@ 28 Extra libraries: @LINK_LIBS@
30- Archiver: @CMAKE_AR@ 29- Archiver: @CMAKE_AR@
31- AR_FLAGS: 30- AR_FLAGS:
32- Ranlib: @CMAKE_RANLIB@ 31- Ranlib: @CMAKE_RANLIB@
33+ Archiver: 32+ Archiver:
34+ AR_FLAGS: 33+ AR_FLAGS:
@@ -63,34 +62,6 @@ index f60f0de..f4433c0 100644
63 H5 C++ Flags: @HDF5_CMAKE_CXX_FLAGS@ 62 H5 C++ Flags: @HDF5_CMAKE_CXX_FLAGS@
64 AM C++ Flags: @AM_CXXFLAGS@ 63 AM C++ Flags: @AM_CXXFLAGS@
65 Shared C++ Library: @H5_ENABLE_SHARED_LIB@ 64 Shared C++ Library: @H5_ENABLE_SHARED_LIB@
66diff --git a/src/H5make_libsettings.c b/src/H5make_libsettings.c
67index 2661288..7c0f84f 100644
68--- a/src/H5make_libsettings.c
69+++ b/src/H5make_libsettings.c
70@@ -205,23 +205,6 @@ information about the library build configuration\n";
71 fprintf(rawoutstream, "/* Generated automatically by H5make_libsettings -- do not edit */\n\n\n");
72 fputs(FileHeader, rawoutstream); /*the copyright notice--see top of this file */
73
74- fprintf(rawoutstream, " *\n * Created:\t\t%s %2d, %4d\n", month_name[tm->tm_mon], tm->tm_mday,
75- 1900 + tm->tm_year);
76- if (pwd || real_name[0] || host_name[0]) {
77- fprintf(rawoutstream, " *\t\t\t");
78- if (real_name[0])
79- fprintf(rawoutstream, "%s <", real_name);
80-#ifdef H5_HAVE_GETPWUID
81- if (pwd)
82- fputs(pwd->pw_name, rawoutstream);
83-#endif
84- if (host_name[0])
85- fprintf(rawoutstream, "@%s", host_name);
86- if (real_name[0])
87- fprintf(rawoutstream, ">");
88- fputc('\n', rawoutstream);
89- }
90-
91 fprintf(rawoutstream, " *\n * Purpose:\t\t");
92
93 for (s = purpose; *s; s++) {
94-- 65--
952.35.5 662.25.1
96 67