From: Amelia Coutard Date: Fri, 6 May 2022 18:39:56 +0000 (+0200) Subject: Added the system includes, to be able to use some of the standard headers (the freest... X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=b67dd3aa39da41f660b0f3d7bf385bb46e2c083f;p=voyage-au-centre-des-fichiers.git Added the system includes, to be able to use some of the standard headers (the freestanding ones) until I make my os specific toolchain (in a long time, probably) --- diff --git a/Makefile b/Makefile index 995e208..7c6c8c0 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ DEPS_DIR ?= deps/ CXX := x86_64-elf-g++ CXXFLAGS ?= -O2 CXXFLAGS := $(CXXFLAGS) -Wall -Wextra -Werror -std=c++20 \ - -ffreestanding -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -fno-exceptions -fno-rtti + -ffreestanding -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -fno-exceptions -fno-rtti \ + -isystem /usr/include -isystem /usr/include/c++/11.2.0 -isystem /usr/include/c++/11.2.0/x86_64-pc-linux-gnu LDFLAGS ?= -O2 LDFLAGS := $(LDFLAGS) -Wall -Wextra -Werror -std=c++20 \