summaryrefslogtreecommitdiffstats
path: root/edify/Android.mk
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-11-21 00:18:56 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-21 00:18:56 +0100
commitdb1044ab6b4c0be3efe902c6c3d22cc2e1687346 (patch)
treec1144c44e1af85f3a4a6b1c8c3909db9af93f3e9 /edify/Android.mk
parentam 71fa5392: am de27d4cb: am e5879c36: Byte swap to support BGRA in recovery mode (diff)
parentam d34b6378: Merge "Global C++11 compatibility." (diff)
downloadandroid_bootable_recovery-db1044ab6b4c0be3efe902c6c3d22cc2e1687346.tar
android_bootable_recovery-db1044ab6b4c0be3efe902c6c3d22cc2e1687346.tar.gz
android_bootable_recovery-db1044ab6b4c0be3efe902c6c3d22cc2e1687346.tar.bz2
android_bootable_recovery-db1044ab6b4c0be3efe902c6c3d22cc2e1687346.tar.lz
android_bootable_recovery-db1044ab6b4c0be3efe902c6c3d22cc2e1687346.tar.xz
android_bootable_recovery-db1044ab6b4c0be3efe902c6c3d22cc2e1687346.tar.zst
android_bootable_recovery-db1044ab6b4c0be3efe902c6c3d22cc2e1687346.zip
Diffstat (limited to 'edify/Android.mk')
-rw-r--r--edify/Android.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/edify/Android.mk b/edify/Android.mk
index 61ed6fa17..03c04e432 100644
--- a/edify/Android.mk
+++ b/edify/Android.mk
@@ -7,9 +7,10 @@ edify_src_files := \
parser.y \
expr.c
-# "-x c" forces the lex/yacc files to be compiled as c;
-# the build system otherwise forces them to be c++.
-edify_cflags := -x c
+# "-x c" forces the lex/yacc files to be compiled as c the build system
+# otherwise forces them to be c++. Need to also add an explicit -std because the
+# build system will soon default C++ to -std=c++11.
+edify_cflags := -x c -std=gnu89
#
# Build the host-side command line tool