From 4487513a2f46fb1735ca9b7f074ee778bf513e11 Mon Sep 17 00:00:00 2001 From: Martin Trojer Date: Mon, 14 Dec 2020 08:54:01 -0800 Subject: [PATCH] [ndkbuild] only make ndkbuild test build for x86 Summary: ndkbuild builds for all supported targets by default, giving errors for clangs that doesn't support MIPS arch (which isn't relevant for this test). Reviewed By: da319 Differential Revision: D25533986 fbshipit-source-id: 25c6001ce --- infer/tests/build_systems/ndk_build/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infer/tests/build_systems/ndk_build/Makefile b/infer/tests/build_systems/ndk_build/Makefile index e5c2229a1..dd97d0a2d 100644 --- a/infer/tests/build_systems/ndk_build/Makefile +++ b/infer/tests/build_systems/ndk_build/Makefile @@ -15,10 +15,10 @@ include $(TESTS_DIR)/infer.make $(OBJECTS): $(SOURCES) cd $(PROJECT_ROOT) && \ - $(NDKBUILD) -B NDK_LIBS_OUT=./libs NDK_OUT=./obj + $(NDKBUILD) -B APP_ABI=x86 NDK_LIBS_OUT=./libs NDK_OUT=./obj infer-out/report.json: $(CLANG_DEPS) $(SOURCES) $(QUIET)cd $(PROJECT_ROOT) && \ $(call silent_on_success,Testing ndk-build clang integration,\ $(INFER_BIN) --results-dir $(CURDIR)/infer-out -- \ - $(NDKBUILD) -B NDK_LIBS_OUT=./libs NDK_OUT=./obj V=1) + $(NDKBUILD) -B APP_ABI=x86 NDK_LIBS_OUT=./libs NDK_OUT=./obj V=1)