build: fix cross compile issue

Replace hardcode gcc with $(CC). as_filter
will work correct in cross compile

Change-Id: I484d5074abdfc80ed5cd14fdd1358274f306bcfd
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2019-10-12 14:34:55 +08:00
parent 5d7724898d
commit 216d0f929b

View File

@ -117,7 +117,7 @@ if USE_NASM
as_filter = ${srcdir}/tools/nasm-filter.sh
endif
if CPU_AARCH64
as_filter = gcc -D__ASSEMBLY__
as_filter = $(CC) -D__ASSEMBLY__
endif
CCAS = $(as_filter)