mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
build: fix compile break for unsupported CPUs
Build with Makefile.unx on unsupported CPUs fail . It reports "undefine references". Fix it with adding base aliases files into sources list Change-Id: I9fbdeee7cb82edc9d5d8461bee3f648be83feaa6 Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
a95292aa01
commit
0c22fcd3e2
5
make.inc
5
make.inc
@ -103,6 +103,11 @@ ARFLAGS = $(ARFLAGS_$(arch))
|
||||
DEFINES += $(addprefix -D , $D)
|
||||
CLEANFILES += $(O) *.o *.a $(all_tests) $(bin_PROGRAMS) $(lib_name) $(so_lib_name) $(all_llvm_fuzz_tests)
|
||||
|
||||
# set host_cpu=base_aliases for unsupported CPUs
|
||||
ifeq ($(filter aarch64 x86_%,$(host_cpu)),)
|
||||
host_cpu=base_aliases
|
||||
endif
|
||||
|
||||
other_tests += $(other_tests_$(host_cpu))
|
||||
|
||||
lsrc += $(lsrc_$(host_cpu))
|
||||
|
Loading…
Reference in New Issue
Block a user