aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2016-02-25 13:44:05 -0800
committerGravatar Stanley Cheung <stanleycheung@google.com>2016-02-25 13:44:05 -0800
commit5ade2d4a35ba93c56790bc524d35848d20695faf (patch)
tree9113ba87e7cc54b7e0d4a1946be9968347a136c8 /templates
parentf7806b766bf88d2173ef37a4205d1393bbd73d60 (diff)
add some CFLAGS to compile on mac
Diffstat (limited to 'templates')
-rw-r--r--templates/config.m4.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/config.m4.template b/templates/config.m4.template
index 5e73901efa..5847d456f5 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)