summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Mills <43148204+sifivekevin@users.noreply.github.com>2018-12-18 17:41:22 -0800
committerGitHub <noreply@github.com>2018-12-18 17:41:22 -0800
commitc76aefe2bce1715e324c6e01c34954e6a8656632 (patch)
tree453c31e5e5df6a6da6c5de77a1307cd924a5c2e5 /Makefile
parent885456b7fd17ede49f91614428a231832ae8310c (diff)
parentf9d31164dda62d5f28647fb4bdf4b730ad2575fe (diff)
Merge pull request #125 from sifive/ar
Use cross-AR, round 2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7900baa..ff6207d 100644
--- a/Makefile
+++ b/Makefile
@@ -231,6 +231,7 @@ $(PROGRAM_ELF): \
$(MEE_BSP_PATH)/install/lib/libmee-gloss.a \
$(MEE_BSP_PATH)/mee.lds
$(MAKE) -C $(dir $@) $(notdir $@) \
+ AR=$(RISCV_AR) \
CC=$(RISCV_GCC) \
CXX=$(RISCV_GXX) \
CFLAGS="-Os -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -g" \