I would get rid of a lot of unneeded CFLAGS, some might not work for winelib purposes (winegcc is just a wrapper).