meta-tizen: crosswalk-thirdparty: CXXFLANGS and CFLAGS are getting expanded incorrectly
authorSaul Wold <sgw@linux.intel.com>
Tue, 23 Dec 2014 21:55:17 +0000 (13:55 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:23:59 +0000 (09:23 -0800)
Change-Id: Ie042e896ec9b646b5a9fb1d67310bd455316fc1f
(From meta-tizen rev: a06540985f46947ecd387f61c7e1f73d20f81701)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc

index cc4b30b..37627da 100644 (file)
@@ -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