INN commit: trunk (lib/Makefile tests/Makefile)

INN Commit rra at isc.org
Tue Jan 5 10:30:51 UTC 2021


    Date: Tuesday, January 5, 2021 @ 02:30:50
  Author: iulius
Revision: 10492

Makefile: Remove useless flags for the linker when just compiling lib/perl.c

Use condensed $(LIBLD) variable.

Modified:
  trunk/lib/Makefile
  trunk/tests/Makefile

----------------+
 lib/Makefile   |    2 +-
 tests/Makefile |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: lib/Makefile
===================================================================
--- lib/Makefile	2021-01-05 09:55:26 UTC (rev 10491)
+++ lib/Makefile	2021-01-05 10:30:50 UTC (rev 10492)
@@ -67,7 +67,7 @@
 	$(LIBCC) $(CFLAGS) -c $*.c
 
 perl.o: perl.c
-	$(LIBCC) $(CFLAGS) $(PERL_CPPFLAGS) $(LDFLAGS) -c perl.c
+	$(LIBCC) $(CFLAGS) $(PERL_CPPFLAGS) -c perl.c
 
 ../include/inn/system.h:
 	(cd ../include && $(MAKE))

Modified: tests/Makefile
===================================================================
--- tests/Makefile	2021-01-05 09:55:26 UTC (rev 10491)
+++ tests/Makefile	2021-01-05 10:30:50 UTC (rev 10492)
@@ -54,8 +54,8 @@
 .c.o:
 	$(LIBCC) $(CFLAGS) -c -o $@ $*.c
 
-LINK		= $(LIBTOOLLD) $(CC) $(LDFLAGS) $(BDB_LDFLAGS) $(SSL_LDFLAGS) $(SASL_LDFLAGS) $(KRB5_LDFLAGS) -o $@
-LINKDEPS	= $(LIBTOOLLDDEPS) $(CC) $(LDFLAGS) $(BDB_LDFLAGS) $(SSL_LDFLAGS) $(SASL_LDFLAGS) $(KRB5_LDFLAGS) -o $@
+LINK		= $(LIBLD) $(LDFLAGS) $(BDB_LDFLAGS) $(SSL_LDFLAGS) $(SASL_LDFLAGS) $(KRB5_LDFLAGS) -o $@
+LINKDEPS	= $(LIBLDDEPS) $(LDFLAGS) $(BDB_LDFLAGS) $(SSL_LDFLAGS) $(SASL_LDFLAGS) $(KRB5_LDFLAGS) -o $@
 STORAGEDEPS	= $(LIBSTORAGE) $(LIBHIST) $(LIBINN)
 STORAGELIBS	= $(STORAGEDEPS) $(STORAGE_LIBS)
 



More information about the inn-committers mailing list