aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-05-29 11:20:36 +0200
committerGitHub <[email protected]>2019-05-29 11:20:36 +0200
commit6fbba67a925bdc8653577d77432cec507f850681 (patch)
treedc3e7a6503663fc599dc1f732467b2d753b19bd3
parenta9f15f542f26ae8ff665920e7bab54b83393fbc3 (diff)
parentc97e7e4b9d6091e90616dcc4c12423713be04bcf (diff)
downloadotp-6fbba67a925bdc8653577d77432cec507f850681.tar.gz
otp-6fbba67a925bdc8653577d77432cec507f850681.tar.bz2
otp-6fbba67a925bdc8653577d77432cec507f850681.zip
Merge pull request #2254 from trofi/master/OTP-15853
erts: don't loop indefinitely on --enable-pgo
-rw-r--r--erts/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 10a006d812..3a043c940d 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -676,7 +676,7 @@ elif test "X$PROFILE_INSTR_GENERATE" = "Xtrue" -a "X$PROFILE_INSTR_USE" = "Xtrue
PROFILE_COMPILER=clang
AC_MSG_RESULT([yes, using -fprofile-instr-generate])
else
- if $enable_pgo = yes; then
+ if test $enable_pgo = yes; then
AC_MSG_ERROR(cannot use PGO with this compiler)
else
AC_MSG_RESULT([no])