summaryrefslogtreecommitdiffstats
path: root/tools/ld_bfd
diff options
context:
space:
mode:
authorbradchen@google.com <bradchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-09 23:11:36 +0000
committerbradchen@google.com <bradchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-09 23:11:36 +0000
commit32131b9030d8313f7adc9b765f706ffbee7ca709 (patch)
tree60b227c2a60d154d581e5efeddee810d2132f874 /tools/ld_bfd
parentc4148a7dded70d7fad0fe161a7e8f87bed553517 (diff)
downloadchromium_src-32131b9030d8313f7adc9b765f706ffbee7ca709.zip
chromium_src-32131b9030d8313f7adc9b765f706ffbee7ca709.tar.gz
chromium_src-32131b9030d8313f7adc9b765f706ffbee7ca709.tar.bz2
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
Diffstat (limited to 'tools/ld_bfd')
-rwxr-xr-xtools/ld_bfd/ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ld_bfd/ld b/tools/ld_bfd/ld
index 06547cb..5a5d84e 100755
--- a/tools/ld_bfd/ld
+++ b/tools/ld_bfd/ld
@@ -30,9 +30,9 @@ def main():
args = list()
args.append("/usr/bin/ld.bfd")
for arg in sys.argv[1:]:
- if arg == "-Wl,--threads":
+ if arg == "-Wl,--threads" or arg == "--threads":
continue
- if arg == "-Wl,--thread-count=4":
+ if arg == "-Wl,--thread-count=4" or arg == "--thread-count=4":
continue
args.append(arg)
print("ld_bfd/ld: exec ", args)