This is an automated email from the ASF dual-hosted git repository.

massakam pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new 50c0906  Fix cflags_cc for gcc-4.9 (#180)
50c0906 is described below

commit 50c090678ecedaa06e2c68ce1db3046655a9a075
Author: hrsakai <[email protected]>
AuthorDate: Wed Nov 24 19:30:02 2021 +0900

    Fix cflags_cc for gcc-4.9 (#180)
---
 binding.gyp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/binding.gyp b/binding.gyp
index a21a45f..a524f19 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -28,8 +28,9 @@
   "targets": [
     {
       "target_name": "Pulsar",
+      "cflags_cc": ["-std=gnu++11"],
       "cflags!": ["-fno-exceptions"],
-      "cflags_cc!": ["-fno-exceptions"],
+      "cflags_cc!": ["-fno-exceptions", "-std=gnu++14", "-std=gnu++17"],
       "include_dirs": [
         "<!@(node -p \"require('node-addon-api').include\")",
       ],

Reply via email to