diff options
Diffstat (limited to 'Makefile.config')
-rw-r--r-- | Makefile.config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.config b/Makefile.config index bbff402..5252c0d 100644 --- a/Makefile.config +++ b/Makefile.config @@ -34,13 +34,13 @@ AS := i686-elf-as CC := i686-elf-gcc CCID := $(shell ${CC} --version | head -n1) -CFLAGS := -Wall -Wextra -Wpedantic -Wshadow -Wconversion -fanalyzer -ffreestanding -std=gnu11 \ +CFLAGS := -Wall -Wextra -Wpedantic -Werror=shadow -Wconversion -fanalyzer -ffreestanding -std=gnu11 \ -mgeneral-regs-only \ $(shell echo ${CONFIG_CFLAGS}) CXX := i686-elf-g++ CXXID := $(shell ${CXX} --version | head -n1) -CXXFLAGS := -Wall -Wextra -Wpedantic -Wshadow -Wconversion -ffreestanding -std=c++17 \ +CXXFLAGS := -Wall -Wextra -Wpedantic -Werror=shadow -Wconversion -ffreestanding -std=c++17 \ -mgeneral-regs-only -fno-use-cxa-atexit -fno-threadsafe-statics -fno-exceptions -fno-rtti \ $(shell echo ${CONFIG_CXXFLAGS}) |