|
@@ -144,16 +144,15 @@ define EXIM_BUILD_CMDS
|
|
|
CFLAGS="-std=c99 $(HOST_CFLAGS)" \
|
|
|
LFLAGS="-fPIC $(HOST_LDFLAGS)"
|
|
|
$(TARGET_MAKE_ENV) build=br $(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \
|
|
|
- CFLAGS="-std=c99 $(TARGET_CFLAGS) $(EXIM_CFLAGS)"
|
|
|
+ CFLAGS="-std=c99 $(TARGET_CFLAGS) $(EXIM_CFLAGS)" exim
|
|
|
endef
|
|
|
|
|
|
# Need to replicate the LFLAGS in install, as exim still wants to build
|
|
|
# something when installing...
|
|
|
define EXIM_INSTALL_TARGET_CMDS
|
|
|
- DESTDIR=$(TARGET_DIR) INSTALL_ARG="-no_chown -no_symlink" build=br \
|
|
|
- $(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \
|
|
|
- CFLAGS="-std=c99 $(TARGET_CFLAGS)" \
|
|
|
- install
|
|
|
+ cd $(@D)/build-br; \
|
|
|
+ DESTDIR=$(TARGET_DIR) build=br \
|
|
|
+ ../scripts/exim_install -no_chown -no_symlink exim
|
|
|
chmod u+s $(TARGET_DIR)/usr/sbin/exim
|
|
|
endef
|
|
|
|