Commit 32131b90 authored by bradchen@google.com's avatar bradchen@google.com

Fix syntax for threading arguments for tools/ld_bfd/ld script

BUG=
TEST=


Review URL: http://codereview.chromium.org/7529047

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96093 0039d316-1c4b-4281-b951-d872f2087c98
parent c4148a7d
...@@ -30,9 +30,9 @@ def main(): ...@@ -30,9 +30,9 @@ def main():
args = list() args = list()
args.append("/usr/bin/ld.bfd") args.append("/usr/bin/ld.bfd")
for arg in sys.argv[1:]: for arg in sys.argv[1:]:
if arg == "-Wl,--threads": if arg == "-Wl,--threads" or arg == "--threads":
continue continue
if arg == "-Wl,--thread-count=4": if arg == "-Wl,--thread-count=4" or arg == "--thread-count=4":
continue continue
args.append(arg) args.append(arg)
print("ld_bfd/ld: exec ", args) print("ld_bfd/ld: exec ", args)
......
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