use CFLAGS when linking too

There are many CFLAGS which implicitly affect linking too (like
-fsanitize=address), so include them when linking.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>