aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-12-04 17:17:03 +0200
committeraqua <aqua@iserlohn-fortress.net>2022-12-04 17:26:54 +0200
commit36367557604575ffec9739e0a64e2f0cdff07e77 (patch)
tree548a58dd1fe817a190abc53018defd337634ba7c /Makefile.config
parentRemove custom include paths in makefiles (diff)
downloadkernel-36367557604575ffec9739e0a64e2f0cdff07e77.tar.xz
Rename CCFLAGS to CFLAGS
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.config b/Makefile.config
index 47176b4..1ea871c 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -2,7 +2,7 @@
#
# Toolchain
#
-CONFIG_CCFLAGS="-g"
+CONFIG_CFLAGS="-g -Og"
CONFIG_LDFLAGS=""
# end of Toolchain
@@ -28,8 +28,8 @@ ARCH=i686
#
AS := i686-elf-as
CC := i686-elf-gcc
-CCFLAGS := -Wall -Wextra -Wpedantic -Wshadow -Wconversion -fanalyzer -ffreestanding -std=gnu11 -mgeneral-regs-only
-CCFLAGS += $(shell echo ${CONFIG_CCFLAGS})
+CFLAGS := -Wall -Wextra -Wpedantic -Wshadow -Wconversion -fanalyzer -ffreestanding -std=gnu11 -mgeneral-regs-only
+CFLAGS += $(shell echo ${CONFIG_CFLAGS})
LD := i686-elf-ld
LDFLAGS := -static -nostdlib
LDFLAGS += $(shell echo ${CONFIG_LDFLAGS})