#! /usr/bin/env perl
# -*- mode: perl; -*-
-# Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
sub detect_gnu_ld {
my @lines =
- `$config{cross_compile_prefix}$target{cc} -Wl,-V /dev/null 2>&1`;
+ `$config{cross_compile_prefix}$config{cc} -Wl,-V /dev/null 2>&1`;
return grep /^GNU ld/, @lines;
}
sub detect_gnu_cc {
my @lines =
- `$config{cross_compile_prefix}$target{cc} -v 2>&1`;
+ `$config{cross_compile_prefix}$config{cc} -v 2>&1`;
return grep /gcc/, @lines;
}