aboutsummaryrefslogtreecommitdiff
path: root/i686/toolchain.mk
diff options
context:
space:
mode:
Diffstat (limited to 'i686/toolchain.mk')
-rw-r--r--i686/toolchain.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/i686/toolchain.mk b/i686/toolchain.mk
index e97443f..8294660 100644
--- a/i686/toolchain.mk
+++ b/i686/toolchain.mk
@@ -6,13 +6,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})