diff options
Diffstat (limited to 'Configurations/shared-info.pl')
-rw-r--r-- | Configurations/shared-info.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Configurations/shared-info.pl b/Configurations/shared-info.pl index 49b9cc9589..f3c4cb6f48 100644 --- a/Configurations/shared-info.pl +++ b/Configurations/shared-info.pl @@ -13,12 +13,12 @@ sub detect_gnu_ld { my @lines = - `$config{cross_compile_prefix}$config{cc} -Wl,-V /dev/null 2>&1`; + `$config{CROSS_COMPILE}$config{CC} -Wl,-V /dev/null 2>&1`; return grep /^GNU ld/, @lines; } sub detect_gnu_cc { my @lines = - `$config{cross_compile_prefix}$config{cc} -v 2>&1`; + `$config{CROSS_COMPILE}$config{CC} -v 2>&1`; return grep /gcc/, @lines; } |