summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2018-07-28 13:39:23 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-30 12:44:35 +0100
commitdb1bed6452b1009d3d93f733f4e46ed579347bcb (patch)
tree1f7f907049a7efc496f535862cf875e5f22586d9 /meta/recipes-connectivity
parente0058efd4b85f5481989bfdf0ca7d36d0809c10f (diff)
downloadpoky-db1bed6452b1009d3d93f733f4e46ed579347bcb.tar.gz
openssl_1.0: squash whitespace in CC_INFO
Squash whitespace in CC_INFO to avoid recipe whitespace changes to CFLAG affecting the final openssl binaries (the value of CC_INFO gets embedded in libcrypto, via buildinf.h). (From OE-Core rev: 2227c51896d4399daac9d85f40d7510b7c8ae03f) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/openssl/openssl_1.0.2o.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
index bbce14fe6b..f5d327475b 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
@@ -211,7 +211,7 @@ do_compile () {
211do_compile_class-target () { 211do_compile_class-target () {
212 sed -i 's/\((OPENSSL=\)".*"/\1"openssl"/' Makefile 212 sed -i 's/\((OPENSSL=\)".*"/\1"openssl"/' Makefile
213 oe_runmake depend 213 oe_runmake depend
214 cc_sanitized=`echo "${CC} ${CFLAG}" | sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' -e 's|${DEBUG_PREFIX_MAP}||g'` 214 cc_sanitized=$(echo "${CC} ${CFLAG}" | sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' -e 's|${DEBUG_PREFIX_MAP}||g' -e 's/[ \t]\+/ /g')
215 oe_runmake CC_INFO="$cc_sanitized" 215 oe_runmake CC_INFO="$cc_sanitized"
216} 216}
217 217