aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2018-09-06 15:22:24 +0200
committerGitHub <[email protected]>2018-09-06 15:22:24 +0200
commitdb0ebbb8e7eb02b78bce9e87ab67ae15d6d65ff3 (patch)
tree17611b9ca91c35a2ff68d96abf93a0593744c6e7 /erts
parenteb538b5bff24ba3144f0646e1a24174e62218479 (diff)
parent1fc113059459fdb64f5bd4adc45fb4fbbd2f2164 (diff)
downloadotp-db0ebbb8e7eb02b78bce9e87ab67ae15d6d65ff3.tar.gz
otp-db0ebbb8e7eb02b78bce9e87ab67ae15d6d65ff3.tar.bz2
otp-db0ebbb8e7eb02b78bce9e87ab67ae15d6d65ff3.zip
Merge pull request #1861 from fornwall/fix-cross-compiling
erts: Fix configure check when cross-compiling OTP-15282
Diffstat (limited to 'erts')
-rw-r--r--erts/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 9e8ffd5ec5..2563a29d08 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -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