summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/glog/glog_0.3.5.bb
diff options
context:
space:
mode:
authorLee Chee Yang <chee.yang.lee@intel.com>2020-10-01 17:26:43 +0800
committerKhem Raj <raj.khem@gmail.com>2020-10-01 10:32:42 -0700
commitbe95549f2ea5c59c6da6ace852b918cdba3c7822 (patch)
treeccaf373b8fa2e0d529cf482ab033c716d49e2ac7 /meta-oe/recipes-support/glog/glog_0.3.5.bb
parentc53b1218e89ff6f917fd7264b9cc7fb7a4590bc4 (diff)
downloadmeta-openembedded-be95549f2ea5c59c6da6ace852b918cdba3c7822.tar.gz
glog : improve reproducibility
remove WORKDIR info from config file to improve reproducibility Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/glog/glog_0.3.5.bb')
-rw-r--r--meta-oe/recipes-support/glog/glog_0.3.5.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/glog/glog_0.3.5.bb b/meta-oe/recipes-support/glog/glog_0.3.5.bb
index 9a8332836..56bf51554 100644
--- a/meta-oe/recipes-support/glog/glog_0.3.5.bb
+++ b/meta-oe/recipes-support/glog/glog_0.3.5.bb
@@ -25,3 +25,10 @@ PACKAGECONFIG_remove_riscv32 = "unwind"
25 25
26PACKAGECONFIG[unwind] = "-DWITH_UNWIND=ON,-DWITH_UNWIND=OFF,libunwind,libunwind" 26PACKAGECONFIG[unwind] = "-DWITH_UNWIND=ON,-DWITH_UNWIND=OFF,libunwind,libunwind"
27PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,," 27PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
28
29do_configure_append() {
30 # remove WORKDIR info to improve reproducibility
31 if [ -f "${B}/config.h" ] ; then
32 sed -i 's/'$(echo ${WORKDIR} | sed 's_/_\\/_g')'/../g' ${B}/config.h
33 fi
34}