Makefile: Include ccopts variables in the static.c Make rules.

There are special rules which build the static.c files because they come from
$(obj) and not $(src) like most source files, and its apparently the most
straightforward way to fold them into the build. Those special copies of the
rules didn't have the $(class)-c-ccopts variables in them, though, so that
one file for each class would be compiled with different flags. This change
adds that variable in so the special version of the rules match the normal

TEST=Built for pit, snow, nyan, link, and falco.

Change-Id: Ie637118d433a0a43a6a9d2c8b9ecb92155044546
Signed-off-by: Gabe Black <>
Reviewed-by: Gabe Black <>
Reviewed-by: Stefan Reinauer <>
Commit-Queue: Gabe Black <>
Tested-by: Gabe Black <>
1 file changed