1
This commit is contained in:
2022-07-19 04:06:37 +02:00
parent 2b1db30d1c
commit 98eb398156

View File

@ -76,7 +76,7 @@ CXX ?= g++
CFLAGS := $(CFLAGS) -O0 -m32 -march=i486 -Wall -fno-stack-protector -nostdlib -I. -g -ffreestanding -fno-pie -fno-pic -Wno-write-strings -mno-sse -mno-sse2 -mmanual-endbr -mpreferred-stack-boundary=2
# I added -std=c++17 for if constexpr, but it isn't necessary for anything critical
# Needed for template concepts, but we don't have it available: -std=c++20
# Needed for template concepts (and optional references?), but we don't have it available: -std=c++20
CXXFLAGS := $(CFLAGS) -Wno-non-virtual-dtor -fno-threadsafe-statics -fno-use-cxa-atexit -fno-rtti -fno-exceptions -std=c++17
BOOT = ../boot