1

enable c++20

This commit is contained in:
churl
2022-05-17 17:50:33 +02:00
parent 13c7d898ab
commit 7506cc40b9

View File

@ -62,16 +62,16 @@ VERBOSE = @
ASMOBJFORMAT = elf ASMOBJFORMAT = elf
OBJDIR = ./build OBJDIR = ./build
DEPDIR = ./dep DEPDIR = ./dep
DRIVE_FD = /media/student/LUCAS DRIVE_FD = /media/student/DATAUSB
# ACHTUNG: ein falsch angegebenes Laufwerk kann dazu fuehren, dass Daten auf dem # ACHTUNG: ein falsch angegebenes Laufwerk kann dazu fuehren, dass Daten auf dem
# spezifizierten Laufwerk verloren gehen! Nicht mit root-Rechten ausfuehren! # spezifizierten Laufwerk verloren gehen! Nicht mit root-Rechten ausfuehren!
DRIVE_HD = /media/student/LUCAS DRIVE_HD = /media/student/DATAUSB
DELETE = rm DELETE = rm
ASM = nasm ASM = nasm
CC ?= gcc CC ?= gcc
CXX ?= g++ CXX ?= g++
CFLAGS := $(CFLAGS) -m32 -march=i486 -Wall -fno-stack-protector -nostdlib -I. -g -ffreestanding -fno-pie -fno-pic -mpreferred-stack-boundary=2 -Wno-write-strings -mno-sse -mno-sse2 -mmanual-endbr CFLAGS := $(CFLAGS) -m32 -march=i486 -Wall -fno-stack-protector -nostdlib -I. -g -ffreestanding -fno-pie -fno-pic -mpreferred-stack-boundary=2 -Wno-write-strings -mno-sse -mno-sse2 -mmanual-endbr
CXXFLAGS := $(CFLAGS) -Wno-non-virtual-dtor -fno-threadsafe-statics -fno-use-cxa-atexit -fno-rtti -fno-exceptions CXXFLAGS := $(CFLAGS) -Wno-non-virtual-dtor -fno-threadsafe-statics -fno-use-cxa-atexit -fno-rtti -fno-exceptions -std=c++20
BOOT = ../boot BOOT = ../boot
TOOLS = ../tools TOOLS = ../tools