Skip to content

Commit 8eebc2e

Browse files
committed
Fix bootloop caused by compiler
1 parent c4edc71 commit 8eebc2e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

kernel/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ ${TARGET}.elf: ${OBJS}
6363
%.o: %.c
6464
${CC} $(CFLAGS) $(INCLUDE) -c -O2 -o $@ $<
6565

66+
base/sha256.o: base/sha256.c
67+
${CC} $(CFLAGS) $(INCLUDE) -c -O0 -o $@ $<
68+
6669
%.o: %.S
6770
${CC} $(CFLAGS) $(INCLUDE) -c -o $@ $<
6871

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#define MAJOR 0
22
#define MINOR 12
3-
#define PATCH 1
3+
#define PATCH 2

0 commit comments

Comments
 (0)