1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Update patch set

This commit is contained in:
Petko Bordjukov 2017-10-23 22:57:41 +03:00
parent 9182e4b19d
commit c1fa35ea12
4 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
From 5c52008981e2ae0506704da89399b2deee6b069f Mon Sep 17 00:00:00 2001
From ab2830d1cb3ba231c3ed3de4ed59e19c65e6e1d4 Mon Sep 17 00:00:00 2001
From: Petko Bordjukov <bordjukov@gmail.com>
Date: Mon, 25 Jul 2016 00:00:19 +0300
Subject: [PATCH 1/4] Build a standalone static library
@ -8,7 +8,7 @@ Subject: [PATCH 1/4] Build a standalone static library
1 file changed, 3 insertions(+)
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
index a30373be61..34c478d7ad 100644
index 63930d8aef..d0d00d3f67 100644
--- a/gypfiles/standalone.gypi
+++ b/gypfiles/standalone.gypi
@@ -517,6 +517,9 @@
@ -22,5 +22,5 @@ index a30373be61..34c478d7ad 100644
'defines!': [
'DEBUG',
--
2.14.1
2.14.2

View file

@ -1,4 +1,4 @@
From 3b38ae59490addc6aabd52c8f54084ab398390f6 Mon Sep 17 00:00:00 2001
From 8b85dc00cfffe510e51677641586732396fe4cf0 Mon Sep 17 00:00:00 2001
From: Petko Bordjukov <bordjukov@gmail.com>
Date: Fri, 28 Jul 2017 11:11:08 +0300
Subject: [PATCH 2/4] Don't compile unnecessary stuff
@ -9,10 +9,10 @@ Subject: [PATCH 2/4] Don't compile unnecessary stuff
2 files changed, 2 insertions(+), 40 deletions(-)
diff --git a/Makefile b/Makefile
index b381918355..7cd9b3c9c9 100644
index eb146ac244..902832af48 100644
--- a/Makefile
+++ b/Makefile
@@ -264,14 +264,9 @@ ANDROID_ARCHES = android_ia32 android_x64 android_arm android_arm64 \
@@ -268,14 +268,9 @@ ANDROID_ARCHES = android_ia32 android_x64 android_arm android_arm64 \
android_mipsel
# List of files that trigger Makefile regeneration:
@ -81,5 +81,5 @@ index bc9d9650eb..96820a0ecc 100644
}
]
--
2.14.1
2.14.2

View file

@ -1,4 +1,4 @@
From fdfd1e5b845c572366248c39fcde614eeba519f9 Mon Sep 17 00:00:00 2001
From 6d8fb9964719799a423db755f84dfe582dd0040e Mon Sep 17 00:00:00 2001
From: Petko Bordjukov <bordjukov@gmail.com>
Date: Mon, 25 Jul 2016 00:05:47 +0300
Subject: [PATCH 3/4] Use the -fPIC flag for the static library
@ -8,7 +8,7 @@ Subject: [PATCH 3/4] Use the -fPIC flag for the static library
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
index 34c478d7ad..d045d6de1c 100644
index d0d00d3f67..f01bd48596 100644
--- a/gypfiles/standalone.gypi
+++ b/gypfiles/standalone.gypi
@@ -797,7 +797,7 @@
@ -21,5 +21,5 @@ index 34c478d7ad..d045d6de1c 100644
}],
[ 'clang==0 and coverage==1', {
--
2.14.1
2.14.2

View file

@ -1,4 +1,4 @@
From bc9d12823ab2720903e1a28fe3cb3b5433419460 Mon Sep 17 00:00:00 2001
From 875cb8e75c8ef5cd471a98b1349f98cb78708217 Mon Sep 17 00:00:00 2001
From: Jb Aviat <jb@sqreen.io>
Date: Mon, 27 Feb 2017 11:14:42 +0200
Subject: [PATCH 4/4] Do not embed debug symbols in macOS libraries
@ -9,7 +9,7 @@ This lowers dramatically the produced binary size
1 file changed, 1 insertion(+)
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
index d045d6de1c..563dfd6663 100644
index f01bd48596..25ca6b8606 100644
--- a/gypfiles/standalone.gypi
+++ b/gypfiles/standalone.gypi
@@ -1056,6 +1056,7 @@
@ -21,5 +21,5 @@ index d045d6de1c..563dfd6663 100644
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
--
2.14.1
2.14.2