[PATCH] If core, add ccwarnflags and ccstdflags, if available.

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>