aboutsummaryrefslogtreecommitdiffhomepage
path: root/binding.gyp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-02-02 08:38:43 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-02-02 08:38:43 -0800
commit4bef7cebe6ebd5e5585ac5079bbd0ec6eb44a954 (patch)
tree04258428a36b09d3585bc9941a08141572ac5931 /binding.gyp
parent0727180da8891485168fbe39b4c9ebb859b6b390 (diff)
Use old memcpy for wrappers
Diffstat (limited to 'binding.gyp')
-rw-r--r--binding.gyp6
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",