comparison mupdf-source/Makerules @ 32:72c1b70d4f5c

Also apply -Werror=implicit-function-declaration
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 21 Sep 2025 15:10:12 +0200
parents baeb8bdeff3a
children c4daa0c83d64
comparison
equal deleted inserted replaced
31:baeb8bdeff3a 32:72c1b70d4f5c
105 CFLAGS += -ffunction-sections -fdata-sections 105 CFLAGS += -ffunction-sections -fdata-sections
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 endif 111 endif
111 112
112 ifeq ($(OS),Darwin) 113 ifeq ($(OS),Darwin)
113 LDREMOVEUNREACH := -Wl,-dead_strip 114 LDREMOVEUNREACH := -Wl,-dead_strip
114 SO := dylib 115 SO := dylib