Skip to content

Commit 9a8854d

Browse files
committed
---
yaml --- r: 217896 b: refs/heads/master c: 158fcbb h: refs/heads/master v: v3
1 parent 255f09e commit 9a8854d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 155c8f9fa8d67badabd72bec16b9a9b3f49eb8a1
2+
refs/heads/master: 158fcbbdd6db45058530abda35ce59d267ee489e
33
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/etc/mklldeps.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
components = sys.argv[2].split() # splits on whitespace
1818
enable_static = sys.argv[3]
19-
llconfig = sys.argv[4]
19+
llvm_config = sys.argv[4]
2020

2121
f.write("""// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2222
// file at the top-level directory of this distribution and at
@@ -38,15 +38,15 @@ def run(args):
3838
out, err = proc.communicate()
3939

4040
if err:
41-
print("failed to run llconfig: args = `{}`".format(args))
41+
print("failed to run llvm_config: args = `{}`".format(args))
4242
print(err)
4343
sys.exit(1)
4444
return out
4545

4646
f.write("\n")
4747

4848
# LLVM libs
49-
args = [llconfig, '--libs', '--system-libs']
49+
args = [llvm_config, '--libs', '--system-libs']
5050

5151
args.extend(components)
5252
out = run(args)
@@ -68,13 +68,13 @@ def run(args):
6868
f.write(")]\n")
6969

7070
# LLVM ldflags
71-
out = run([llconfig, '--ldflags'])
71+
out = run([llvm_config, '--ldflags'])
7272
for lib in out.strip().split(' '):
7373
if lib[:2] == "-l":
7474
f.write("#[link(name = \"" + lib[2:] + "\")]\n")
7575

7676
# C++ runtime library
77-
out = run([llconfig, '--cxxflags'])
77+
out = run([llvm_config, '--cxxflags'])
7878
if enable_static == '1':
7979
assert('stdlib=libc++' not in out)
8080
f.write("#[link(name = \"stdc++\", kind = \"static\")]\n")

0 commit comments

Comments
 (0)