From 2ed1b29d00e7ad392bf12bb73666ed78a096dad8 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Thu, 12 Nov 2015 15:55:13 -0800 Subject: [PATCH] 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 --- tests/Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Android.mk b/tests/Android.mk index f401d3380..8f2d3cf04 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -171,6 +171,7 @@ $(foreach compiler,gcc clang, \ ) \ ) +fortify1-tests-gcc_clang_target := false module := fortify1-tests-gcc module_tag := optional build_type := target @@ -179,6 +180,7 @@ include $(LOCAL_PATH)/Android.build.mk 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