Skip to content

Commit

Permalink
Merge pull request erlang#1861 from fornwall/fix-cross-compiling
Browse files Browse the repository at this point in the history
erts: Fix configure check when cross-compiling

OTP-15282
  • Loading branch information
rickard-green authored Sep 6, 2018
2 parents eb538b5 + 1fc1130 commit db0ebbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erts/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,8 @@ if test "X$PROFILE_INSTR_GENERATE" = "Xtrue"; then
PROFILE_INSTR_USE=false])
rm -f default.profdata
fi],
[])
[],
[AC_MSG_NOTICE([Disabling PGO when cross-compiling])])
rm -f *.profraw
CFLAGS=$saved_CFLAGS;
fi
Expand Down

0 comments on commit db0ebbb

Please sign in to comment.