# HG changeset patch # User Franz Glasner # Date 1758470952 -7200 # Node ID da085c7f52c649eb1866ae793abfcb47ab7b1c70 # Parent c4daa0c83d64b6fa538c3e03d438a7ee0aaa41d1 FIX: In Makerules: check for empty EXTRA_CHECKS also before applying them diff -r c4daa0c83d64 -r da085c7f52c6 mupdf-source/Makerules --- a/mupdf-source/Makerules Sun Sep 21 17:55:13 2025 +0200 +++ b/mupdf-source/Makerules Sun Sep 21 18:09:12 2025 +0200 @@ -105,11 +105,13 @@ CFLAGS += -ffunction-sections -fdata-sections endif -ifneq ($(EXTRA_CHECKS),0) - CFLAGS += -fno-delete-null-pointer-checks - CFLAGS += -Werror=implicit-function-declaration - CFLAGS += -fstack-clash-protection - CFLAGS += -fstack-protector-strong +ifneq ($(EXTRA_CHECKS),) + ifneq ($(EXTRA_CHECKS),0) + CFLAGS += -fno-delete-null-pointer-checks + CFLAGS += -Werror=implicit-function-declaration + CFLAGS += -fstack-clash-protection + CFLAGS += -fstack-protector-strong + endif endif ifeq ($(OS),Darwin)