crosswalk-thirdparty: CXXFLANGS and CFLAGS are getting expanded incorrectly 87/32787/2
authorSaul Wold <sgw@linux.intel.com>
Tue, 23 Dec 2014 21:55:17 +0000 (13:55 -0800)
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>
Tue, 30 Dec 2014 14:08:25 +0000 (06:08 -0800)
Change-Id: Ie042e896ec9b646b5a9fb1d67310bd455316fc1f
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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