Commit 3a56b775 authored by doko@ubuntu.com's avatar doko@ubuntu.com

Makefile.pre.in (profile-opt): Fix bashism.

parent d5871e62
...@@ -483,7 +483,7 @@ build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Programs/_testembed ...@@ -483,7 +483,7 @@ build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Programs/_testembed
# Compile a binary with profile guided optimization. # Compile a binary with profile guided optimization.
profile-opt: profile-opt:
@if [ $(LLVM_PROF_ERR) == yes ]; then \ @if [ $(LLVM_PROF_ERR) = yes ]; then \
echo "Error: Cannot perform PGO build because llvm-profdata was not found in PATH" ;\ echo "Error: Cannot perform PGO build because llvm-profdata was not found in PATH" ;\
echo "Please add it to PATH and run ./configure again" ;\ echo "Please add it to PATH and run ./configure again" ;\
exit 1;\ exit 1;\
......
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