AArch64: Add fixes to bionic/tests
This patch adds minor fixes to the bionic unit tests.
Change-Id: Ie10f33c631ed6c10987923d678711d22931ddb05
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
diff --git a/tests/Android.mk b/tests/Android.mk
index b5398f1..d4d82ee 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -29,6 +29,14 @@
-Werror \
-fno-builtin \
+ifeq ($(TARGET_ARCH),aarch64)
+ $(info TODO: $(LOCAL_PATH)/Android.mk -fstack-protector not yet available for the AArch64 toolchain)
+ test_c_flags += -fno-stack-protector
+
+ $(info TODO: $(LOCAL_PATH)/Android.mk aarch64 GCC sees things other GCCs do not; punt for now)
+ test_c_flags += -Wno-error=strict-aliasing
+endif # aarch64
+
test_src_files = \
buffer_tests.cpp \
dirent_test.cpp \