aboutsummaryrefslogtreecommitdiff
path: root/i686/toolchain.mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-02-12 17:28:33 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-02-12 17:28:33 +0200
commit878cdffb3f69c780cb55f1fbb54747d9066a385a (patch)
treecd8bb7352bdb6d14ed20f5aa2d3d0e649f0f0427 /i686/toolchain.mk
parentMake shadowing variables an error (diff)
downloadkernel-878cdffb3f69c780cb55f1fbb54747d9066a385a.tar.xz
Generate dependency files for source code
Use the compiler to generate dependency files for all C, C++ and .S assembly source code files. These are included in the makefiles where the files are used.
Diffstat (limited to 'i686/toolchain.mk')
-rw-r--r--i686/toolchain.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/i686/toolchain.mk b/i686/toolchain.mk
index 8294660..93c5f6d 100644
--- a/i686/toolchain.mk
+++ b/i686/toolchain.mk
@@ -28,7 +28,7 @@ STRIP := i686-elf-strip
# define compiler and flags for test targets
TEST_CXX := g++
-TEST_CXXFLAGS := -Wall -Wextra -Wpedantic -Werror=shadow -Werror=conversion -g -Og \
+TEST_CXXFLAGS := -Wall -Wextra -Wpedantic -Werror=shadow -Wconversion -g -Og \
$(shell pkg-config --cflags --libs gtest gtest_main gmock)
# emulator name and flags