aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 387810e..52ad5dd 100644
--- a/Makefile
+++ b/Makefile
@@ -28,8 +28,8 @@ KERNEL = $(LINUX_SOURCE)/arch/$(ARCH)/boot/Image
# everything is in assembly anyways and everything is statically linked. Hence
# no `-mcpu`, no `-mtune`, no funny business.
-CC = $(CROSS_COMPILE)gcc
-LD = $(CROSS_COMPILE)gcc
+CC = $(CROSS_COMPILE)gcc$(CC_SUFFIX)
+LD = $(CROSS_COMPILE)gcc$(CC_SUFFIX)
ISA ?= rv64imafdc_zicntr_zicsr_zifencei_zihpm_zca_zcd_zba_zbb
INCLUDES = -Iinclude/
ASFLAGS = -march=$(ISA) -mabi=lp64d $(INCLUDES)