[exim-dev] Minor build fixes

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-dev
CC: Simon Ruderich
Sujet: [exim-dev] Minor build fixes
Hello,

find attached two minor fixes to the build system by Simon Ruderich.

makefile-missing-fullecho.patch: $(FE) was not used for some cases.
fix-missing-lflags.patch: Also use lflags when building the helper
binary.

thanks, cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Author: Simon Ruderich <simon@???>
Last-Update: 2012-09-14

Index: exim4-4.80/OS/Makefile-Base
===================================================================
--- exim4-4.80.orig/OS/Makefile-Base    2012-09-14 17:07:28.926489036 +0200
+++ exim4-4.80/OS/Makefile-Base    2012-09-14 17:07:31.190489123 +0200
@@ -113,7 +113,7 @@
 # Targets for special-purpose configuration header builders
 buildconfig: buildconfig.c
     @echo "$(CC) buildconfig.c"
-    $(FE)$(CC) $(CFLAGS) $(INCLUDE) -o buildconfig buildconfig.c $(LIBS)
+    $(FE)$(CC) $(CFLAGS) $(LFLAGS) $(INCLUDE) -o buildconfig buildconfig.c $(LIBS)



# Target for the exicyclog utility script
Description: Add missing $(FE) to Makefiles.
Author: Simon Ruderich <simon@???>
Last-Update: 2012-09-14

Index: exim4-4.80/src/transports/Makefile
===================================================================
--- exim4-4.80.orig/src/transports/Makefile    2012-09-14 17:07:28.110489005 +0200
+++ exim4-4.80/src/transports/Makefile    2012-09-14 17:07:34.374489244 +0200
@@ -7,7 +7,7 @@
 transports.a:    $(OBJ)
          @$(RM_COMMAND) -f transports.a
          @echo "$(AR) transports.a"
-         @$(AR) transports.a $(OBJ)
+         $(FE)$(AR) transports.a $(OBJ)
          $(RANLIB) $@


 .SUFFIXES:       .o .c
Index: exim4-4.80/src/routers/Makefile
===================================================================
--- exim4-4.80.orig/src/routers/Makefile    2012-09-14 17:07:28.110489005 +0200
+++ exim4-4.80/src/routers/Makefile    2012-09-14 17:07:34.374489244 +0200
@@ -14,7 +14,7 @@
 routers.a:       $(OBJ)
          @$(RM_COMMAND) -f routers.a
          @echo "$(AR) routers.a"
-         @$(AR) routers.a $(OBJ)
+         $(FE)$(AR) routers.a $(OBJ)
          $(RANLIB) $@


 .SUFFIXES:       .o .c
Index: exim4-4.80/src/lookups/Makefile
===================================================================
--- exim4-4.80.orig/src/lookups/Makefile    2012-09-14 17:07:28.110489005 +0200
+++ exim4-4.80/src/lookups/Makefile    2012-09-14 17:07:34.374489244 +0200
@@ -14,7 +14,7 @@
 lookups.a:       $(OBJ)
          @$(RM_COMMAND) -f lookups.a
          @echo "$(AR) lookups.a"
-         @$(AR) lookups.a $(OBJ)
+         $(FE)$(AR) lookups.a $(OBJ)
          $(RANLIB) $@


 .SUFFIXES:       .o .c .so