Merge "Global C++11 compatibility."

This commit is contained in:
Dan Albert
2014-11-20 21:21:14 +00:00
committed by Gerrit Code Review
+4 -3
View File
@@ -7,9 +7,10 @@ edify_src_files := \
parser.y \ parser.y \
expr.c expr.c
# "-x c" forces the lex/yacc files to be compiled as c; # "-x c" forces the lex/yacc files to be compiled as c the build system
# the build system otherwise forces them to be c++. # otherwise forces them to be c++. Need to also add an explicit -std because the
edify_cflags := -x c # build system will soon default C++ to -std=c++11.
edify_cflags := -x c -std=gnu89
# #
# Build the host-side command line tool # Build the host-side command line tool