Use pedantic warnings

Use pedantic warnings but still allow inline assembly, so turn off
language-extension-token warnings.
This commit is contained in:
Michael Cardell Widerkrantz 2024-03-04 15:57:29 +01:00 committed by dehanj
parent e085d0ebd0
commit 746d7f0e0d
No known key found for this signature in database
GPG Key ID: 3707A9DBF4BB8F1A
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ CC = clang
CFLAGS = -target riscv32-unknown-none-elf -march=rv32iczmmul -mabi=ilp32 \
-static -std=gnu99 -O2 -ffast-math -fno-common -fno-builtin-printf \
-fno-builtin-putchar -fno-builtin-memcpy -nostdlib -mno-relax -Wall \
-flto -g -DNOCONSOLE
-Wpedantic -Wno-language-extension-token -flto -g -DNOCONSOLE
AS = clang
ASFLAGS = -target riscv32-unknown-none-elf -march=rv32iczmmul -mabi=ilp32 -mno-relax