diff options
author | 2016-02-02 08:38:43 -0800 | |
---|---|---|
committer | 2016-02-02 08:38:43 -0800 | |
commit | 4bef7cebe6ebd5e5585ac5079bbd0ec6eb44a954 (patch) | |
tree | 04258428a36b09d3585bc9941a08141572ac5931 /binding.gyp | |
parent | 0727180da8891485168fbe39b4c9ebb859b6b390 (diff) |
Use old memcpy for wrappers
Diffstat (limited to 'binding.gyp')
-rw-r--r-- | binding.gyp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binding.gyp b/binding.gyp index 133f8f4862..0e4181cc06 100644 --- a/binding.gyp +++ b/binding.gyp @@ -528,6 +528,7 @@ 'src/core/support/time_precise.c', 'src/core/support/time_win32.c', 'src/core/support/tls_pthread.c', + 'src/core/support/wrap_memcpy.c', ], "conditions": [ ['OS == "mac"', { @@ -743,6 +744,11 @@ "boringssl", "z", ] + }], + ['OS=="linux"', { + 'ldflags': [ + '-Wl,-wrap,memcpy' + ] }] ], "target_name": "grpc_node", |