From a06540985f46947ecd387f61c7e1f73d20f81701 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 23 Dec 2014 13:55:17 -0800 Subject: [PATCH] crosswalk-thirdparty: CXXFLANGS and CFLAGS are getting expanded incorrectly Change-Id: Ie042e896ec9b646b5a9fb1d67310bd455316fc1f Signed-off-by: Saul Wold --- .../recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc b/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc index cc4b30b..37627da 100644 --- a/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc +++ b/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc @@ -93,12 +93,12 @@ do_compile() { # to be left out (since several pieces are built with -Werror). At least in # M39, this is preventing the "rtc_base" target from being built because it # does not expect -Wall to be passed to the compiler (see webrtc issue 3307). - export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g` + export CXXFLAGS="`echo $CXXFLAGS | sed s,-Wall,,g`" # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246 - export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g` + export CFLAGS="`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g`" # Building the RPM in the GBS chroot fails with errors such as -- 2.7.4