blob: 288e642fc7024545947183f38104225d7bd7a896 [file] [log] [blame]
Patrick Williams213cb262021-08-07 19:21:33 -05001From 39572baac462f16b39dc385751d5c642646718d3 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 4 Aug 2021 17:05:10 +0800
4Subject: [PATCH] cmake: remove build flags
5
6Remove the build flags to improve reproducibility.
7
8Upstream-Status: Inappropriate[oe specific]
9
10Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
11---
12 config/cmake/libh5cc.in | 2 +-
13 config/cmake/libhdf5.settings.cmake.in | 12 ++++++------
14 2 files changed, 7 insertions(+), 7 deletions(-)
15
16diff --git a/config/cmake/libh5cc.in b/config/cmake/libh5cc.in
17index f462d56..93c7137 100644
18--- a/config/cmake/libh5cc.in
19+++ b/config/cmake/libh5cc.in
20@@ -29,4 +29,4 @@ printf 'dir is %s\n' "$dir"
21
22 export PKG_CONFIG_PATH=$dir/lib/pkgconfig
23
24-@_PKG_CONFIG_COMPILER@ `pkg-config --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@-@_PKG_CONFIG_VERSION@` $@
25+`pkg-config --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@-@_PKG_CONFIG_VERSION@` $@
26diff --git a/config/cmake/libhdf5.settings.cmake.in b/config/cmake/libhdf5.settings.cmake.in
27index c337dea..0ab9066 100644
28--- a/config/cmake/libhdf5.settings.cmake.in
29+++ b/config/cmake/libhdf5.settings.cmake.in
30@@ -16,8 +16,8 @@ General Information:
31 Compiling Options:
32 ------------------
33 Compilation Mode: @CMAKE_BUILD_TYPE@ @CMAKE_C_COMPILER_VERSION@
34- C Compiler: @CMAKE_C_COMPILER@
35- CFLAGS: @CMAKE_C_FLAGS@
36+ C Compiler:
37+ CFLAGS:
38 H5_CFLAGS: @H5_CFLAGS@
39 AM_CFLAGS: @AM_CFLAGS@
40 CPPFLAGS: @CPPFLAGS@
41@@ -29,8 +29,8 @@ Compiling Options:
42 LDFLAGS: @CMAKE_SHARED_LINKER_FLAGS@
43 AM_LDFLAGS: @AM_LDFLAGS@
44 Extra libraries: @LINK_LIBS@
45- Archiver: @CMAKE_AR@
46- Ranlib: @CMAKE_RANLIB@
47+ Archiver:
48+ Ranlib:
49 Debugged Packages: @DEBUG_PKG@
50 API Tracing: @HDF5_ENABLE_TRACE@
51
52@@ -46,8 +46,8 @@ Languages:
53 @BUILD_FORTRAN_CONDITIONAL_TRUE@ Static Fortran Library: YES
54
55 C++: @HDF5_BUILD_CPP_LIB@
56-@BUILD_CXX_CONDITIONAL_TRUE@ C++ Compiler: @CMAKE_CXX_COMPILER@ @CMAKE_CXX_COMPILER_VERSION@
57-@BUILD_CXX_CONDITIONAL_TRUE@ C++ Flags: @CMAKE_CXX_FLAGS@
58+@BUILD_CXX_CONDITIONAL_TRUE@ C++ Compiler:
59+@BUILD_CXX_CONDITIONAL_TRUE@ C++ Flags:
60 @BUILD_CXX_CONDITIONAL_TRUE@ H5 C++ Flags: @H5_CXXFLAGS@
61 @BUILD_CXX_CONDITIONAL_TRUE@ AM C++ Flags: @AM_CXXFLAGS@
62 @BUILD_CXX_CONDITIONAL_TRUE@ Shared C++ Library: @H5_ENABLE_SHARED_LIB@
63--
642.17.1
65