build: fix CMake assembly builds with ccache
authorFelix Fietkau <nbd@openwrt.org>
Sun, 29 Mar 2015 05:12:58 +0000 (05:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 29 Mar 2015 05:12:58 +0000 (05:12 +0000)
commita5422864f57e1e944acca71880b065a46b35e97e
treecbe197b2eff0b4a6c899ec2eb9ad6bdc19078a7f
parent375337266df72ae3afd97984ccc542b9e386f668
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>
SVN-Revision: 45119
include/cmake.mk