From: Andre McCurdy Date: Sat, 28 Jul 2018 20:39:23 +0000 (-0700) Subject: openssl_1.0: squash whitespace in CC_INFO X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2227c51896d4399daac9d85f40d7510b7c8ae03f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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). Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton --- diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb index bbce14fe6be..f5d327475bb 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 () { do_compile_class-target () { sed -i 's/\((OPENSSL=\)".*"/\1"openssl"/' Makefile oe_runmake depend - cc_sanitized=`echo "${CC} ${CFLAG}" | sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' -e 's|${DEBUG_PREFIX_MAP}||g'` + cc_sanitized=$(echo "${CC} ${CFLAG}" | sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' -e 's|${DEBUG_PREFIX_MAP}||g' -e 's/[ \t]\+/ /g') oe_runmake CC_INFO="$cc_sanitized" }