]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Added the system includes, to be able to use some of the standard headers (the freest...
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Fri, 6 May 2022 18:39:56 +0000 (20:39 +0200)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Fri, 6 May 2022 18:39:56 +0000 (20:39 +0200)
Makefile

index 995e208a7212922c4bc8bf5448f2380269086b3e..7c6c8c090546cb8720f3d57bb8e5809122cc39bf 100644 (file)
--- 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 \