add some CFLAGS to compile on mac
diff --git a/templates/config.m4.template b/templates/config.m4.template
index 5e73901..5847d45 100644
--- a/templates/config.m4.template
+++ b/templates/config.m4.template
@@ -38,7 +38,8 @@
% endfor
% endif
% endfor
- , $ext_shared, , -Wall -Werror -std=c11 ${"\\"}
+ , $ext_shared, , -Wall -Werror ${"\\"}
+ -Wno-parentheses-equality -Wno-unused-value -std=c11 ${"\\"}
-fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN ${"\\"}
-D_HAS_EXCEPTIONS=0 -DNOMINMAX)