1
0
Fork 0
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:
Andrea C. Granata 2012-09-08 13:39:49 +02:00
parent 34890f5ec0
commit 9c5c447296

View file

@ -6,8 +6,8 @@ index ebdf557..c7a59bc 100644
[ 'OS=="linux"', {
'cflags': [ '-ansi' ],
}],
+ [ 'OS=="linux" and v8_target_arch=="x64" and component=="static_library"', {
+ 'cflags': [ '-fPIC', ],
+ [ '(OS=="linux" or OS=="freebsd") and v8_target_arch=="x64" and component=="static_library"', {
+ 'cflags': [ '-fPIC' ],
+ }],
[ 'visibility=="hidden"', {
'cflags': [ '-fvisibility=hidden' ],