Skip to content

Commit

Permalink
Use pedantic warnings
Browse files Browse the repository at this point in the history
Use pedantic warnings but still allow inline assembly, so turn off
language-extension-token warnings.
  • Loading branch information
mchack-work authored and dehanj committed Mar 14, 2024
1 parent 39a2b6f commit e843c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/application_fpga/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e843c18

Please sign in to comment.