Skip to content

Commit

Permalink
remove O2 and O3 opts due to compile issue causing intermittent failure
Browse files Browse the repository at this point in the history
  • Loading branch information
gabylb committed Nov 21, 2019
1 parent e941900 commit 11d557d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'javahome%': '<!(node findJavaHome.js)'
}],
['OS=="mac"', {
'javaver%' : "<!(awk -F/ -v h=`node findJavaHome.js` 'BEGIN {n=split(h, a); print a[2]; exit}')"
'javaver%' : "<!(awk -F/ -v h=`node findJavaHome.js` 'BEGIN {n=split(h, a); print a[2]; exit}')"
}],
['OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'javalibdir%': "<!(./find_java_libdir.sh <(target_arch) <(OS))"
Expand Down Expand Up @@ -101,6 +101,9 @@
]
}
],
["OS=='zos'", {
"cflags!": [ "-O2", "-O3" ]
}],
['OS=="mac"',
{
'xcode_settings': {
Expand Down

0 comments on commit 11d557d

Please sign in to comment.