1

Revert "add own bse::move"

This reverts commit 72b99990b6.
This commit is contained in:
2022-07-23 14:32:07 +02:00
parent c658d55fe6
commit 3f8ff439a0
5 changed files with 36 additions and 53 deletions

View File

@ -78,14 +78,14 @@ EMPTY :=
GCC = gcc
ifeq ($(CXX),$(GCC))
# Separate these as they are not compatible with clang14
GCCFLAGS = -mmanual-endbr -mpreferred-stack-boundary=2
EXTRAFLAGS = -mmanual-endbr -mpreferred-stack-boundary=2
else
GCCFLAGS = $(EMPTY)
EXTRAFLAGS = $(EMPTY)
endif
# NOTE: Need -O0 to allow paging/bluescreen to work (We need the ebp on the stack)
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 $(GCCFLAGS)
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 $(EXTRAFLAGS)
# NOTE: -std=c++17 for if constexpr and probably some other stuff
# -std=c++20 is needed for template concepts and optional references, but we don't have it available :(