summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/tools/check-execstack.pl
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/tools/check-execstack.pl')
-rwxr-xr-xopenmp/runtime/tools/check-execstack.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/tools/check-execstack.pl b/openmp/runtime/tools/check-execstack.pl
index 43c2bb23a70..cf247425a1b 100755
--- a/openmp/runtime/tools/check-execstack.pl
+++ b/openmp/runtime/tools/check-execstack.pl
@@ -18,9 +18,9 @@ use FindBin;
use lib "$FindBin::Bin/lib";
use tools;
-use Platform ":vars";
our $VERSION = "0.002";
+my $target_arch;
sub execstack($) {
my ( $file ) = @_;
@@ -56,7 +56,7 @@ sub execstack($) {
}; # sub execstack
get_options(
- Platform::target_options(),
+ "arch=s" => \$target_arch,
);
foreach my $file ( @ARGV ) {
OpenPOWER on IntegriCloud