Convert CM flags to EOS flag