diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2020-05-29 16:52:57 +0200 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2020-05-29 16:52:57 +0200 |
commit | 7bbb9afba4e8826e6d23dc2cc71ecc26b2a2fc50 (patch) | |
tree | 01a8f517b5300f0e7bdea7732d4acb2f03c12042 /runtime | |
parent | d82a2138e3b429fc3a8d6ed9f578dd8dcfb6b1ef (diff) | |
download | compcert-kvx-7bbb9afba4e8826e6d23dc2cc71ecc26b2a2fc50.tar.gz compcert-kvx-7bbb9afba4e8826e6d23dc2cc71ecc26b2a2fc50.zip |
Using kvx-elf-ar instead of ar
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/Makefile b/runtime/Makefile index ea3c914f..ed4c1d39 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -38,6 +38,12 @@ OBJS=i64_dtos.o i64_dtou.o i64_sar.o i64_sdiv.o i64_shl.o \ vararg.o endif +ifeq ($(ARCH),kvx) + AR=kvx-elf-ar +else + AR=ar +endif + OBJS+=write_profiling_table.o LIB=libcompcert.a @@ -59,7 +65,7 @@ endif $(LIB): $(OBJS) rm -f $(LIB) - ar rcs $(LIB) $(OBJS) + $(AR) rcs $(LIB) $(OBJS) %.o: %.s $(CASMRUNTIME) -o $@ $^ |