Mercurial > hgrepos > Python2 > PyMuPDF
changeset 34:da085c7f52c6
FIX: In Makerules: check for empty EXTRA_CHECKS also before applying them
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 21 Sep 2025 18:09:12 +0200 |
| parents | c4daa0c83d64 |
| children | f0e1e5146733 |
| files | mupdf-source/Makerules |
| diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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)
