build: fix CMake assembly builds with ccache
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 Mar 2015 05:12:58 +0000 (05:12 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 Mar 2015 05:12:58 +0000 (05:12 +0000)
commit9a24368677852cda8e797100e2a36134fe16ac1e
tree88b617be0973538c73418cfc45b989b1484aa9e8
parent4cad80ca613be752bcd9f426b8318d8cf89d4339
build: fix CMake assembly builds with ccache

CMAKE_ASM_COMPILER is automatically set to CMAKE_C_COMPILER by CMake, but
CMAKE_C_COMPILER_ARG1 is lost. This causes assembly builds to fail when ccache
is enabled (for example the package fastd on x86).

Fix this by explicitly defining CMAKE_ASM_COMPILER and CMAKE_ASM_COMPILER_ARG1.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45119 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/cmake.mk