FORTIFY_SOURCE: make sure gcc unittests are compiled with gcc
The default compiler is clang. We need to explicitly indicate
that we should use gcc.
Change-Id: I37859c2e303f2a86a2565fe72eda1fda7c557a59
diff --git a/tests/Android.mk b/tests/Android.mk
index f401d33..8f2d3cf 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -171,6 +171,7 @@
) \
)
+fortify1-tests-gcc_clang_target := false
module := fortify1-tests-gcc
module_tag := optional
build_type := target
@@ -179,6 +180,7 @@
build_type := host
include $(LOCAL_PATH)/Android.build.mk
+fortify2-tests-gcc_clang_target := false
module := fortify2-tests-gcc
module_tag := optional
build_type := target