Add compiler version checks for what we want to support going forward,

and make us actually build with clang (the log_message_handler.cc change
and config.make change)
This commit is contained in:
Maks Orlovich
2015-11-25 13:44:13 -05:00
parent f88a0763fd
commit bc875647f1
3 changed files with 71 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
if [ -n "$NGX_CLANG_VER" ]; then
# Chromium headers assume clang is always in C++11 mode. Oblige it.
for ps_src_file in $PS_NGX_SRCS; do
ps_obj_file="$NGX_OBJS/addon/src/`basename $ps_src_file .cc`.o"
echo "$ps_obj_file : CFLAGS += --std=c++11" >> $NGX_MAKEFILE
done
fi