From f1b97d5a8976592d50e7195f02ae3663a48a2cf1 Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Fri, 22 Sep 2017 06:51:41 -0700 Subject: [PATCH] [make] do not accidentally build the -O3 infer when running `make test_build` Summary: Makefiles and stuff. Reviewed By: mbouaziz Differential Revision: D5890553 fbshipit-source-id: a407b32 --- infer/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/src/Makefile b/infer/src/Makefile index e895d0d5f..2ae5d0651 100644 --- a/infer/src/Makefile +++ b/infer/src/Makefile @@ -119,7 +119,7 @@ $(INFER_BUILD_DIR)/$(INFER_MAIN).exe: $(SRC_BUILD_COMMON) $(MAKEFILE_LIST) .PHONY: test test: $(SRC_BUILD_COMMON) $(MAKEFILE_LIST) $(QUIET)jbuilder build \ - $(patsubst _build/default/%.exe,_build/test/%.bc,$(INFER_CONFIG_TARGETS)) \ + $(patsubst $(INFER_BUILD_DIR)/%.exe,_build/test/%.bc,$(INFER_CONFIG_TARGETS)) \ _build/test/scripts/checkCopyright.bc _build/test/$(INFERUNIT_MAIN).bc _build/test/infertop.bc INFER_BIN_ALIASES = $(foreach alias,$(INFER_COMMANDS),$(BIN_DIR)/$(alias))