mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Enable the -fPIC flag for arm, too
It seems that -fPIC is required for 32-bit ARM, too. Trying to link against libv8 on an armv7l was causing the following linking error: relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
This commit is contained in:
parent
02f53ed3eb
commit
864d80e14b
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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', {
|
||||
|
|
Loading…
Add table
Reference in a new issue