diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2015-09-16 12:01:14 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2015-09-16 12:01:14 +0000 |
commit | 6dabac88db39aa100cb0bc56aef19a2233f8b6a3 (patch) | |
tree | 214daf1171144263f00306e77a983980a60d5c0d /openmp/runtime | |
parent | 205d1993bbdf311ae9fefd295b3c5760b69f86c0 (diff) | |
download | bcm5719-llvm-6dabac88db39aa100cb0bc56aef19a2233f8b6a3.tar.gz bcm5719-llvm-6dabac88db39aa100cb0bc56aef19a2233f8b6a3.zip |
Force the readelf call to be in English
Summary:
For example, when readelf is called on a french localization, it will find "Librairie partagées" instead of "shared library"
Reviewers: AndreyChurbanov, jcownie
Differential Revision: http://reviews.llvm.org/D12902
llvm-svn: 247787
Diffstat (limited to 'openmp/runtime')
-rwxr-xr-x | openmp/runtime/tools/check-depends.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openmp/runtime/tools/check-depends.pl b/openmp/runtime/tools/check-depends.pl index b19987781a0..02a7ddd9e92 100755 --- a/openmp/runtime/tools/check-depends.pl +++ b/openmp/runtime/tools/check-depends.pl @@ -105,6 +105,11 @@ sub get_deps_readelf($) { $tool = "readelf"; } + # Force the readelf call to be in English. For example, when readelf + # is called on a french localization, it will find "Librairie partagees" + # instead of shared library + $ENV{ LANG } = "C"; + execute( [ $tool, "-d", $file ], -stdout => \@bulk ); debug( @bulk, "(eof)" ); |