logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

erlang-21.3-pgo-loop.patch (420B)


  1. https://bugs.gentoo.org/686786
  2. --- a/erts/configure.in
  3. +++ b/erts/configure.in
  4. @@ -682,7 +682,7 @@ elif test "X$PROFILE_INSTR_GENERATE" = "Xtrue" -a "X$PROFILE_INSTR_USE" = "Xtrue
  5. PROFILE_COMPILER=clang
  6. AC_MSG_RESULT([yes, using -fprofile-instr-generate])
  7. else
  8. - if $enable_pgo = yes; then
  9. + if test $enable_pgo = yes; then
  10. AC_MSG_ERROR(cannot use PGO with this compiler)
  11. else
  12. AC_MSG_RESULT([no])