diff mupdf-source/Makerules @ 33:c4daa0c83d64

Apply also -fstack-clash-protection and -fstack-protector-strong for all generated binaries. Only done if EXTRA_CHECKS is not empty and not 0.
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 21 Sep 2025 17:55:13 +0200
parents 72c1b70d4f5c
children da085c7f52c6
line wrap: on
line diff
--- a/mupdf-source/Makerules	Sun Sep 21 15:10:12 2025 +0200
+++ b/mupdf-source/Makerules	Sun Sep 21 17:55:13 2025 +0200
@@ -108,6 +108,8 @@
 ifneq ($(EXTRA_CHECKS),0)
   CFLAGS += -fno-delete-null-pointer-checks
   CFLAGS += -Werror=implicit-function-declaration
+  CFLAGS += -fstack-clash-protection
+  CFLAGS += -fstack-protector-strong
 endif
 
 ifeq ($(OS),Darwin)