diff options
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.bb | 7 |
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 | ||
26 | PACKAGECONFIG[unwind] = "-DWITH_UNWIND=ON,-DWITH_UNWIND=OFF,libunwind,libunwind" | 26 | PACKAGECONFIG[unwind] = "-DWITH_UNWIND=ON,-DWITH_UNWIND=OFF,libunwind,libunwind" |
27 | PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,," | 27 | PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,," |
28 | |||
29 | do_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 | } | ||