CC_FLAGS was a left over from the 0.8.x age. Killed it and use the newer MAINTAINER_CFLAGS variable instead.