diff --git a/deps/libffi/libffi.gyp b/deps/libffi/libffi.gyp index a6ca819188ef6f..cc83695f45b6ab 100644 --- a/deps/libffi/libffi.gyp +++ b/deps/libffi/libffi.gyp @@ -133,6 +133,10 @@ 'generate-headers.py', '--output-dir', '<(SHARED_INTERMEDIATE_DIR)/libffi', + '--target-arch', + '<(target_arch)', + '--os', + '<(OS)', ], }, ],