Skip to content

Commit b37e5fa

Browse files
authored
Merge pull request #5 from xianyi/develop
rebase
2 parents c73d8ee + 326469e commit b37e5fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c_check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Checking cross compile
77
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
8-
$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
8+
$hostarch = `uname -m | sed -e s/i.86/x86/`;
99
$hostarch = `uname -p` if ($hostos eq "AIX" || $hostos eq "SunOS");
1010
chop($hostarch);
1111
$hostarch = "x86_64" if ($hostarch eq "amd64");

f_check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ if ($link ne "") {
330330
$flags =~ s/\@/\,/g;
331331
$linker_L .= "-Wl,". $flags . " " ;
332332
}
333-
if ($flags =~ /-lgomp/ && $CC =~ /clang/) {
333+
if ($flags =~ /-lgomp/ && $ENV{"CC"} =~ /clang/) {
334334
$flags = "-lomp";
335335
}
336336

0 commit comments

Comments
 (0)