summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/build-lldb-llvm-clang
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/build-lldb-llvm-clang')
-rwxr-xr-xlldb/scripts/build-lldb-llvm-clang4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/build-lldb-llvm-clang b/lldb/scripts/build-lldb-llvm-clang
index 822e9944bf6..c71188ddd00 100755
--- a/lldb/scripts/build-lldb-llvm-clang
+++ b/lldb/scripts/build-lldb-llvm-clang
@@ -33,7 +33,7 @@ cd ..
for patch_file in ../scripts/llvm.*.diff
do
echo "Applying patch from '$patch_file'"
- patch -p0 < "$patch_file"
+ patch -p1 < "$patch_file"
done
# change directory to "./llvm/tools/clang"
@@ -41,7 +41,7 @@ cd tools/clang
for patch_file in ../../../scripts/clang.*.diff
do
echo "Applying patch from '$patch_file'"
- patch -p0 < "$patch_file"
+ patch -p1 < "$patch_file"
done
# change directory to "./"
OpenPOWER on IntegriCloud