From 045cafa17b748c294e9075c5e86bfaf361d4d806 Mon Sep 17 00:00:00 2001 From: Lucas Schumacher Date: Sun, 13 Apr 2025 21:19:41 -0400 Subject: [PATCH] Disable builtin-declaration-mismatch warning in gcc --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index af80ede..d6aedd2 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ clean: .PHONY: all clean print: - gcc -static -nostdlib -fno-stack-protector -o print print.c + gcc -static -nostdlib -Wno-builtin-declaration-mismatch -fno-stack-protector -o print print.c print_x64: print.c clang --target=x86_64-linux-gnu -nostdlib -static -fuse-ld=lld -fno-stack-protector -o print_x64 print.c