block all flags except 1 ldflag