Mercurial > hgrepos > Python2 > PyMuPDF
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 32:72c1b70d4f5c | 33:c4daa0c83d64 |
|---|---|
| 106 endif | 106 endif |
| 107 | 107 |
| 108 ifneq ($(EXTRA_CHECKS),0) | 108 ifneq ($(EXTRA_CHECKS),0) |
| 109 CFLAGS += -fno-delete-null-pointer-checks | 109 CFLAGS += -fno-delete-null-pointer-checks |
| 110 CFLAGS += -Werror=implicit-function-declaration | 110 CFLAGS += -Werror=implicit-function-declaration |
| 111 CFLAGS += -fstack-clash-protection | |
| 112 CFLAGS += -fstack-protector-strong | |
| 111 endif | 113 endif |
| 112 | 114 |
| 113 ifeq ($(OS),Darwin) | 115 ifeq ($(OS),Darwin) |
| 114 LDREMOVEUNREACH := -Wl,-dead_strip | 116 LDREMOVEUNREACH := -Wl,-dead_strip |
| 115 SO := dylib | 117 SO := dylib |
