[Lunar-commits] <moonbase-other> chromium: Fix configure failure if $CFLAGS contains more than one option

Stefan Wold ratler at lunar-linux.org
Thu Jul 19 19:25:55 CEST 2012


commit 982f79775199dff08ba27382aff84815a7950df1
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Thu, 19 Jul 2012 10:25:55 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/982f79775199dff08ba27382aff84815a7950df1

chromium: Fix configure failure if $CFLAGS contains more than one option
---
  web/chromium/BUILD                                           +2/-2     
  1 files changed, 2 insertions (+), 2 deletions (-)

--- a/web/chromium/BUILD
+++ b/web/chromium/BUILD
@@ -34,7 +34,7 @@ EOF
     OPTS+=" -Duse_libjpeg_turbo=1"
   fi &&
 
-  OPTS+=" -Duse_system_bzip2=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1 -Duse_system_zlib=1 -Duse_system_zlib=1 -Duse_system_ffmpeg=0 -Dproprietary_codecs=1 -Dwerror= -Ddisable_sse2=1 -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome -Dfastbuild=1 -Dlinux_strip_binary=1 -Dlinux_use_seccomp_sandbox=1 -Dlinux_use_gold_binary=0 -Dlinux_use_gold_flags=0 -Drelease_extra_cflags=$CFLAGS -Dffmpeg_branding=Chrome"
+  OPTS+=" -Duse_system_bzip2=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1 -Duse_system_zlib=1 -Duse_system_zlib=1 -Duse_system_ffmpeg=0 -Dproprietary_codecs=1 -Dwerror= -Ddisable_sse2=1 -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome -Dfastbuild=1 -Dlinux_strip_binary=1 -Dlinux_use_seccomp_sandbox=1 -Dlinux_use_gold_binary=0 -Dlinux_use_gold_flags=0 -Dffmpeg_branding=Chrome"
 
   # set the target arch here
   if [ "`arch`" == "x86_64" ]; then
@@ -49,7 +49,7 @@ EOF
   fi
 
   # This is the configure step
-  build/gyp_chromium -f make build/all.gyp $OPTS --depth=. &&
+  build/gyp_chromium -f make build/all.gyp $OPTS -Drelease_extra_cflags="$CFLAGS" --depth=. &&
 
   # This is the make step
   make V=1 chrome chrome_sandbox BUILDTYPE=Release &&




More information about the Lunar-commits mailing list