no-sse2.patch: Fix another error in v8_sse2.gyp

(by fixing make-v8-sse2-gyp.sh)
This commit is contained in:
Kevin Kofler 2016-01-19 04:11:36 +01:00
parent 9ee8131cd3
commit 09c4c1fc15
1 changed files with 3 additions and 3 deletions

View File

@ -2785,7 +2785,7 @@ diff -Nur qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/v8/tools/g
+SUBTARGETS=`grep "'target_name': 'v8" v8.gyp | sed -e "s/^.*'target_name': '//g" -e "s/',$//g"`" mksnapshot"
+SEDS=
+for SUBTARGET in $SUBTARGETS ; do
+ SEDS=$SEDS\ -e\ "s/'$SUBTARGET'/'${SUBTARGET}_sse2'/g"
+ SEDS=$SEDS\ -e\ "s/'$SUBTARGET\(['#]\)/'${SUBTARGET}_sse2\1/g"
+done
+sed -e "s/^\( 'variables': {\)/\1\n 'v8_target_arch': 'ia32',/g" \
+ $SEDS \
@ -3025,7 +3025,7 @@ diff -Nur qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/v8/tools/g
+ ['want_separate_host_toolset==1', {
+ 'toolsets': ['host', 'target'],
+ 'dependencies': [
+ 'mksnapshot#host',
+ 'mksnapshot_sse2#host',
+ 'js2c#host',
+ ],
+ }, {
@ -3130,7 +3130,7 @@ diff -Nur qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/v8/tools/g
+ ['want_separate_host_toolset==1', {
+ 'toolsets': ['host', 'target'],
+ 'dependencies': [
+ 'mksnapshot#host',
+ 'mksnapshot_sse2#host',
+ 'js2c#host',
+ 'natives_blob',
+ ]}, {