]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Changed g++ mcmodel to kernel.
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Wed, 27 Apr 2022 20:58:16 +0000 (22:58 +0200)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Wed, 27 Apr 2022 20:58:16 +0000 (22:58 +0200)
Makefile

index 9daceca76592c762b98eb27c11a6cd2b213c50b5..645c32d96f478c83295c0c23e12a391feb69091d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ DEPS_DIR ?= deps/
 CXX := x86_64-elf-g++
 CXXFLAGS ?= -O2
 CXXFLAGS := $(CXXFLAGS) -Wall -Wextra -Werror \
-       -ffreestanding -mcmodel=large -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
 
 LDFLAGS ?= -O2
 LDFLAGS := $(LDFLAGS) -Wall -Wextra -Werror \