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/templates/binding.gyp.template b/templates/binding.gyp.template index a913585..31c9f8c 100644 --- a/templates/binding.gyp.template +++ b/templates/binding.gyp.template
@@ -230,6 +230,11 @@ % endif % endfor ] + }], + ['OS=="linux"', { + 'ldflags': [ + '-Wl,-wrap,memcpy' + ] }] ], "target_name": "${module.name}",