aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.config b/Makefile.config
index 1f9331d..8ac0c3c 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -35,10 +35,10 @@ ARCH=i686
# define compiler, linker, archiver and strip and their flags
${ARCH}_AS := i686-elf-as
-${ARCH}_CC := i686-elf-gcc
+${ARCH}_CC := i686-elf-gcc -ansi
${ARCH}_CCID := $(shell ${${ARCH}_CC} --version | head -n1)
${ARCH}_CFLAGS := -Wall -Wextra -Wpedantic -Werror=shadow -Wconversion -fanalyzer \
- -D__ARCH__="${ARCH}" -ffreestanding -std=gnu11 -mgeneral-regs-only \
+ -D__ARCH__="${ARCH}" -ffreestanding -mgeneral-regs-only \
$(shell echo ${CONFIG_CFLAGS})
${ARCH}_LD := i686-elf-ld