diff --git a/patches/fPIC-on-linux-x64.patch b/patches/fPIC-on-x64.patch similarity index 71% rename from patches/fPIC-on-linux-x64.patch rename to patches/fPIC-on-x64.patch index 44d82e0..975314b 100644 --- a/patches/fPIC-on-linux-x64.patch +++ b/patches/fPIC-on-x64.patch @@ -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' ],