ref
Middle English: perhaps from Old Norse flaga ‘slab’. The original sense was ‘a flake of snow’, later, ‘a fragment or splinter’, hence ‘a defect or imperfection’ (late 15th century).