Sha256: 041d9876a183dccac7bb54a7090b5ca4ec97eb363b6906df6146d0f922268c7b

Contents?: true

Size: 1009 Bytes

Versions: 3

Compression:

Stored size: 1009 Bytes

Contents

From b5adedd20f6868d229ac524b170fcabc8c44c2db 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/5] Do not embed debug symbols in macOS libraries

This lowers dramatically the produced binary size
---
 gypfiles/standalone.gypi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
index 08eb0761c9..453e9efed9 100644
--- a/gypfiles/standalone.gypi
+++ b/gypfiles/standalone.gypi
@@ -1054,6 +1054,7 @@
           'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',        # -fno-exceptions
           'GCC_ENABLE_CPP_RTTI': 'NO',              # -fno-rtti
           'GCC_ENABLE_PASCAL_STRINGS': 'NO',        # No -mpascal-strings
+          'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',   # No -gdwarf-2
           # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden
           'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
           'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES',      # -fvisibility=hidden
-- 
2.13.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
libv8-5.9.211.38.1 patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch
libv8-5.9.211.38.0 patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch
libv8-5.9.211.38.0beta0 patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch