commit | 4bef7cebe6ebd5e5585ac5079bbd0ec6eb44a954 | [log] [tgz] |
---|---|---|
author | Craig Tiller <ctiller@google.com> | Tue Feb 02 08:38:43 2016 -0800 |
committer | Craig Tiller <ctiller@google.com> | Tue Feb 02 08:38:43 2016 -0800 |
tree | 04258428a36b09d3585bc9941a08141572ac5931 | |
parent | 0727180da8891485168fbe39b4c9ebb859b6b390 [diff] [blame] |
Use old memcpy for wrappers
diff --git a/binding.gyp b/binding.gyp index 133f8f4..0e4181c 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",