From 85c8fd05f1a0c0224882c4fafa60003d3ef56cf3 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 30 Sep 2024 10:59:59 -0400 Subject: compile with wall,extra,error,pedantic --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 284f931..728ead6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -CXXFLAGS := -m32 -ggdb -g3 -O0 -fno-pic -fno-rtti -fno-exceptions -std=c++23 +CXXFLAGS := -m32 -ggdb -g3 -O1 -fno-pic -fno-rtti -fno-exceptions -std=c++23 \ + -Wall -Wextra -pedantic -Werror LDFLAGS := $(CXXFLAGS) -T link.ld -static -nostdlib -fno-use-cxa-atexit CXXFILES := acpi.cpp \ -- cgit v1.2.3