mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Apply the -fPIC also on FreeBSD.
This commit is contained in:
parent
34890f5ec0
commit
9c5c447296
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ index ebdf557..c7a59bc 100644
|
||||||
[ 'OS=="linux"', {
|
[ 'OS=="linux"', {
|
||||||
'cflags': [ '-ansi' ],
|
'cflags': [ '-ansi' ],
|
||||||
}],
|
}],
|
||||||
+ [ 'OS=="linux" and v8_target_arch=="x64" and component=="static_library"', {
|
+ [ '(OS=="linux" or OS=="freebsd") and v8_target_arch=="x64" and component=="static_library"', {
|
||||||
+ 'cflags': [ '-fPIC', ],
|
+ 'cflags': [ '-fPIC' ],
|
||||||
+ }],
|
+ }],
|
||||||
[ 'visibility=="hidden"', {
|
[ 'visibility=="hidden"', {
|
||||||
'cflags': [ '-fvisibility=hidden' ],
|
'cflags': [ '-fvisibility=hidden' ],
|
Loading…
Reference in a new issue