A gluten-free flour blend or other starch (like corn, arrowroot or tapioca) can be used to thicken the gravy in place of flour. If you're making gluten-free Shepherd's Pie, make sure all the other ingredients are free of gluten too, like seasonings and stock or broth.