From dd9bf929ac9b39fa5e3f4a307cf518d5a3e0edaf Mon Sep 17 00:00:00 2001 From: "Shuowang (Wayne) Zhang" Date: Mon, 3 Jun 2019 11:44:24 -0400 Subject: [PATCH] zos: update compiler options PR-URL: https://github.com/nodejs/node-gyp/pull/1768 Reviewed-By: Richard Lau --- addon.gypi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/addon.gypi b/addon.gypi index e1c4b24af2..3cadaab78b 100644 --- a/addon.gypi +++ b/addon.gypi @@ -110,7 +110,14 @@ 'cflags': [ '-q64', '-Wc,DLL', - '-qlonglong' + '-qlonglong', + '-qenum=int', + '-qxclang=-fexec-charset=ISO8859-1' + ], + 'defines': [ + '_ALL_SOURCE=1', + 'MAP_FAILED=-1', + '_UNIX03_SOURCE=1' ], 'ldflags': [ '-q64',