Sha256: 066a2b3311fa712180072d34a3233093b31615a08119fc773d310f44e568c78c
Contents?: true
Size: 926 Bytes
Versions: 4
Compression:
Stored size: 926 Bytes
Contents
From 97bb118756e30cea60216d3e74ba352d76001637 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/5] Use the -fPIC flag for the static library --- gypfiles/standalone.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi index d0d00d3f67..f01bd48596 100644 --- a/gypfiles/standalone.gypi +++ b/gypfiles/standalone.gypi @@ -797,7 +797,7 @@ [ 'visibility=="hidden" and v8_enable_backtrace==0', { 'cflags': [ '-fvisibility=hidden' ], }], - [ 'component=="shared_library"', { + [ 'component=="shared_library" or component=="static_library" and (v8_target_arch=="x64" or v8_target_arch=="arm64" or v8_target_arch=="arm")', { 'cflags': [ '-fPIC', ], }], [ 'clang==0 and coverage==1', { -- 2.14.3
Version data entries
4 entries across 4 versions & 1 rubygems