Commit 2d152e35 by Srdjan Obucina Committed by Jim Stichnoth

Subzero: Fix Makefile.standalone to enable format with DEBUG flag

When building pnacl with --host-flavor=debug, tools at ../../out/llvm_x86_64_linux_work/Release+Asserts/bin are not available, so we need a fix to enable source code formatting with tools from ../../out/llvm_x86_64_linux_debug_work/Debug+Asserts/bin R=stichnot@chromium.org Review URL: https://codereview.chromium.org/2081223003 . Patch from Srdjan Obucina <Srdjan.Obucina@imgtec.com>.
parent 2e08a06f
...@@ -219,7 +219,13 @@ else ...@@ -219,7 +219,13 @@ else
# LLVM autoconf build # LLVM autoconf build
LLVM_LIBS := -lLLVM-3.7svn LLVM_LIBS := -lLLVM-3.7svn
GTEST_LIB_PATH ?= -L../../out/llvm_x86_64_linux_work/Release+Asserts/lib 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 endif
LLVM_LDFLAGS := $(LLVM_LIBS) \ LLVM_LDFLAGS := $(LLVM_LIBS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment