From f397f0fa1d7a95032cf68d7b3964604ecb4c22bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9F=E3=83=B3=E3=83=84=E3=82=AD?= <36459316+mintsuki@users.noreply.github.com> Date: Mon, 17 Apr 2023 02:20:19 +0200 Subject: [PATCH] zealbooter: Rebase on latest limine-barebones code (#101) --- zealbooter/GNUmakefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/zealbooter/GNUmakefile b/zealbooter/GNUmakefile index d8f30e28..a0d9a1fd 100644 --- a/zealbooter/GNUmakefile +++ b/zealbooter/GNUmakefile @@ -24,7 +24,7 @@ $(eval $(call DEFAULT_VAR,CC,cc)) $(eval $(call DEFAULT_VAR,LD,ld)) # User controllable C flags. -$(eval $(call DEFAULT_VAR,CFLAGS,-g -O2 -pipe -Wall -Wextra)) +$(eval $(call DEFAULT_VAR,CFLAGS,-g -O2 -pipe)) # User controllable C preprocessor flags. We set none by default. $(eval $(call DEFAULT_VAR,CPPFLAGS,)) @@ -37,13 +37,15 @@ $(eval $(call DEFAULT_VAR,LDFLAGS,)) # Internal C flags that should not be changed by the user. override CFLAGS += \ + -Wall \ + -Wextra \ -std=gnu11 \ -ffreestanding \ -fno-stack-protector \ -fno-stack-check \ -fno-lto \ - -fno-pie \ - -fno-pic \ + -fno-PIE \ + -fno-PIC \ -m64 \ -march=x86-64 \ -mabi=sysv \ @@ -77,6 +79,7 @@ endif # Internal nasm flags that should not be changed by the user. override NASMFLAGS += \ + -Wall \ -f elf64 # Use "find" to glob all *.c, *.S, and *.asm files in the tree and obtain the