diff --git a/CHANGELOG.md b/CHANGELOG.md index d6cf2cb..c64e724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ### Unreleased +* Enable the -fPIC flag for ARM + ### 5.0.71.48.2, 5.0.71.48.3 - 2016-05-13: * Upgrade upstream v8 version to 5.0.71.45 diff --git a/patches/fPIC-for-static.patch b/patches/fPIC-for-static.patch index 05f6782..1a19c34 100644 --- a/patches/fPIC-for-static.patch +++ b/patches/fPIC-for-static.patch @@ -7,7 +7,7 @@ index 1252094..308a7e3 100644 'cflags': [ '-fvisibility=hidden' ], }], - [ 'component=="shared_library"', { -+ [ 'component=="shared_library" or component=="static_library" and (v8_target_arch=="x64" or v8_target_arch=="arm64")', { ++ [ 'component=="shared_library" or component=="static_library" and (v8_target_arch=="x64" or v8_target_arch=="arm64" or v8_target_arch=="arm")', { 'cflags': [ '-fPIC', ], }], [ 'coverage==1', {