Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: Makefile.standalone

Issue 2081223003: Subzero: Fix Makefile.standalone to enable format with --host-flavor=debug flag (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile.standalone
diff --git a/Makefile.standalone b/Makefile.standalone
index 201a8e4501fb04ed142bce617f7304ceedd239b3..8e9b8fe31456eb6c3ff48c9e1cfd307df6ccca51 100644
--- a/Makefile.standalone
+++ b/Makefile.standalone
@@ -219,7 +219,11 @@ else
# LLVM autoconf build
LLVM_LIBS := -lLLVM-3.7svn
GTEST_LIB_PATH ?= -L../../out/llvm_x86_64_linux_work/Release+Asserts/lib
- CLANG_FORMAT_PATH ?= ../../out/llvm_x86_64_linux_work/Release+Asserts/bin
+ ifneq ($(wildcard ../../out/llvm_x86_64_linux_work/Release+Asserts/bin/clang-format),)
+ CLANG_FORMAT_PATH ?= ../../out/llvm_x86_64_linux_work/Release+Asserts/bin
+ else
+ CLANG_FORMAT_PATH ?= ../../out/llvm_x86_64_linux_debug_work/Debug+Asserts/bin
+ endif
endif
LLVM_LDFLAGS := $(LLVM_LIBS) \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698