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
This commit is contained in:
parent
7c10ee9473
commit
2ed1b29d00
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user