From e52d9de585ed7cb1482ab142911d1c6d3e486955 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 11 May 2023 23:10:41 +0300 Subject: fix riscv64-linux-gnu- build --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3d70d6b..06ef283 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,9 @@ DEBUGFLAGS != [ $(RELEASE) ] \ && echo "-flto -O2 -DNDEBUG" \ || echo "-O0 -DDEBUG" -CFLAGS = -ffreestanding -nostdlib -fno-pie -std=c17 -Wall -Wextra -Wvla -D$(ARCH) -g +CFLAGS = -ffreestanding -nostdlib -static -fno-pie -std=c17 \ + -Wall -Wextra -Wvla -D$(ARCH) -g + DEPFLAGS = -MT $@ -MMD -MP -MF $@.d LINTFLAGS = -fsyntax-only PREPROCESS = -E -- cgit v1.3