Browse Source

exim: fix compilation with CentOS 7

CentOS 7 has an old GCC that does not default to c11.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
89b6174691
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mail/exim/Makefile

+ 1
- 0
mail/exim/Makefile View File

@ -137,6 +137,7 @@ define Package/exim/conffiles
/etc/exim/exim.conf /etc/exim/exim.conf
endef endef
HOST_CFLAGS += -std=c99
TARGET_CFLAGS += $(FPIC) -DNO_IP_OPTIONS -D_FILE_OFFSET_BITS=64 TARGET_CFLAGS += $(FPIC) -DNO_IP_OPTIONS -D_FILE_OFFSET_BITS=64
MAKE_VARS += build=Linux-$$(ARCH) MAKE_VARS += build=Linux-$$(ARCH)


Loading…
Cancel
Save