summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Xcode/build-llvm.py
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-09-27 23:44:54 +0000
committerJason Molenda <jmolenda@apple.com>2017-09-27 23:44:54 +0000
commitbfee0a506f2f068da12be807e6dc831c85de6a91 (patch)
treec0b971102d0467cefbdcadc0513d2f96a411b152 /lldb/scripts/Xcode/build-llvm.py
parentd2224e17c3ec684a51024c7af2807ccab400a7dd (diff)
downloadbcm5719-llvm-bfee0a506f2f068da12be807e6dc831c85de6a91.tar.gz
bcm5719-llvm-bfee0a506f2f068da12be807e6dc831c85de6a91.zip
Change build-llvm.py and build-lldb-llvm-clang's patching mechanisms to
assume git-style diffs. Committing for Francis Ricci. Differential Revision: https://reviews.llvm.org/D38328 llvm-svn: 314366
Diffstat (limited to 'lldb/scripts/Xcode/build-llvm.py')
-rwxr-xr-xlldb/scripts/Xcode/build-llvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Xcode/build-llvm.py b/lldb/scripts/Xcode/build-llvm.py
index 4a18abefc85..4d868de6b10 100755
--- a/lldb/scripts/Xcode/build-llvm.py
+++ b/lldb/scripts/Xcode/build-llvm.py
@@ -224,7 +224,7 @@ def apply_patches(spec):
f, spec['name'] + '.*.diff')]
for p in patches:
run_in_directory(["patch",
- "-p0",
+ "-p1",
"-i",
os.path.join(lldb_source_path(),
'scripts',
OpenPOWER on IntegriCloud