From: Jean THOMAS Date: Mon, 15 Jun 2020 13:34:02 +0000 (+0200) Subject: Include dash in compiler prefix variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd6585332c24905592f3306c182d2f174f5103c7;p=gram.git Include dash in compiler prefix variable --- diff --git a/libgram/Makefile b/libgram/Makefile index 3fea0fe..ff51a9a 100644 --- a/libgram/Makefile +++ b/libgram/Makefile @@ -1,12 +1,12 @@ OBJS := src/init.o src/memtest.o src/dfii.o -TRIPLE := riscv64-unknown-elf +TRIPLE := riscv64-unknown-elf- -CC := $(TRIPLE)-gcc -AS := $(TRIPLE)-as -OBJCOPY := $(TRIPLE)-objcopy -AR := $(TRIPLE)-ar -LD := $(TRIPLE)-ld +CC := $(TRIPLE)gcc +AS := $(TRIPLE)as +OBJCOPY := $(TRIPLE)objcopy +AR := $(TRIPLE)ar +LD := $(TRIPLE)ld CFLAGS := -fvisibility=hidden -march=rv32i -mabi=ilp32 -nostdlib -Os -Iinclude LDFLAGS := -melf32lriscv -nostdlib