From cc441961bb5fcab06a243d771988ef7edef8a680 Mon Sep 17 00:00:00 2001 From: Bruno Dias Date: Sun, 12 Jul 2026 20:51:14 -0300 Subject: [PATCH 1/2] chore: added rule to generate compile_flags.txt. --- .gitignore | 1 + Makefile | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index fa21d235..d102b625 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ clib-build clib-update clib-upgrade clib-uninstall +compile_flags.txt test/package/package-* !test/package/package-*.c diff --git a/Makefile b/Makefile index 36f88edf..04838b3f 100644 --- a/Makefile +++ b/Makefile @@ -95,3 +95,9 @@ commit-hook: scripts/pre-commit-hook.sh cp -f scripts/pre-commit-hook.sh .git/hooks/pre-commit .PHONY: test all clean install uninstall fmt + +compile-flags: + @printf "%s\n" \ + $(foreach flag,$(CFLAGS),$(flag)) \ + $(foreach dir,$(wildcard deps/*/),"-I./$(dir)") \ + > compile_flags.txt From 74a7b8a96fb1eaa3c860dbb395c0957f6e5e392f Mon Sep 17 00:00:00 2001 From: Bruno Dias Date: Tue, 14 Jul 2026 21:01:20 -0300 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 04838b3f..add38ec8 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ fmt: commit-hook: scripts/pre-commit-hook.sh cp -f scripts/pre-commit-hook.sh .git/hooks/pre-commit -.PHONY: test all clean install uninstall fmt +.PHONY: test all clean install uninstall fmt compile-flags compile-flags: @printf "%s\n" \