projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cebd2d4
)
Include dash in compiler prefix variable
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Mon, 15 Jun 2020 13:34:02 +0000
(15:34 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Mon, 15 Jun 2020 13:34:02 +0000
(15:34 +0200)
libgram/Makefile
patch
|
blob
|
history
diff --git
a/libgram/Makefile
b/libgram/Makefile
index 3fea0feaae446bbe7da4203362fb7969dac1037a..ff51a9ab601b7c48303f7276ee652b861088ad47 100644
(file)
--- 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