We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c73d8ee + 326469e commit b37e5faCopy full SHA for b37e5fa
c_check
@@ -5,7 +5,7 @@
5
6
# Checking cross compile
7
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
8
-$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
+$hostarch = `uname -m | sed -e s/i.86/x86/`;
9
$hostarch = `uname -p` if ($hostos eq "AIX" || $hostos eq "SunOS");
10
chop($hostarch);
11
$hostarch = "x86_64" if ($hostarch eq "amd64");
f_check
@@ -330,7 +330,7 @@ if ($link ne "") {
330
$flags =~ s/\@/\,/g;
331
$linker_L .= "-Wl,". $flags . " " ;
332
}
333
- if ($flags =~ /-lgomp/ && $CC =~ /clang/) {
+ if ($flags =~ /-lgomp/ && $ENV{"CC"} =~ /clang/) {
334
$flags = "-lomp";
335
336
0 commit comments