INN commit: branches/2.6 (lib/Makefile tests/Makefile)

INN Commit rra at isc.org
Tue Jan 5 16:11:08 UTC 2021


    Date: Tuesday, January 5, 2021 @ 08:11:07
  Author: iulius
Revision: 10498

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

Use condensed $(LIBLD) variable.

Modified:
  branches/2.6/lib/Makefile
  branches/2.6/tests/Makefile

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

Modified: lib/Makefile
===================================================================
--- lib/Makefile	2021-01-05 16:06:30 UTC (rev 10497)
+++ lib/Makefile	2021-01-05 16:11:07 UTC (rev 10498)
@@ -67,7 +67,7 @@
 	$(LIBCC) $(CFLAGS) -c $*.c
 
 perl.o: perl.c
-	$(CC) $(CFLAGS) $(PERL_CPPFLAGS) $(LDFLAGS) -c perl.c
+	$(CC) $(CFLAGS) $(PERL_CPPFLAGS) -c perl.c
 
 ../include/inn/system.h:
 	(cd ../include && $(MAKE))

Modified: tests/Makefile
===================================================================
--- tests/Makefile	2021-01-05 16:06:30 UTC (rev 10497)
+++ tests/Makefile	2021-01-05 16:11:07 UTC (rev 10498)
@@ -54,8 +54,8 @@
 .c.o:
 	$(CC) $(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