summaryrefslogtreecommitdiff
path: root/dev-lang/erlang/files/erlang-21.3-pgo-loop.patch
blob: 82add992a448efe5cd907943f2ac4ecbd5fa1fba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://bugs.gentoo.org/686786

--- a/erts/configure.in
+++ b/erts/configure.in
@@ -682,7 +682,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])