From 08021ae28e4608b14399f56649463a7a3ebd2595 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 24 Sep 2021 12:24:29 +0800 Subject: [PATCH] litedram: set Makefile -Werror Signed-off-by: Matt Johnston --- litedram/gen-src/sdram_init/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/litedram/gen-src/sdram_init/Makefile b/litedram/gen-src/sdram_init/Makefile index 662cc26..6f50dae 100644 --- a/litedram/gen-src/sdram_init/Makefile +++ b/litedram/gen-src/sdram_init/Makefile @@ -32,6 +32,7 @@ CPPFLAGS += -I$(LXSRC_DIR) -I$(LXINC_DIR) -I$(LXINC_DIR)/base -I$(LXSRC_DIR)/lib CPPFLAGS += -isystem $(shell $(CC) -print-file-name=include) CFLAGS = -Os -g -Wall -std=c99 -m64 -mabi=elfv2 -msoft-float -mno-string -mno-multiple -mno-vsx -mno-altivec -mlittle-endian -fno-stack-protector -mstrict-align -ffreestanding -fdata-sections -ffunction-sections -fno-delete-null-pointer-checks +CFLAGS += -Werror ASFLAGS = $(CPPFLAGS) $(CFLAGS) LDFLAGS = -static -nostdlib -T $(OBJ)/$(PROGRAM).lds --gc-sections -- 2.30.2