From d00142f5522504202b38f38e6cc708f8b3153349 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 10 Nov 2014 14:58:45 -0700 Subject: [PATCH] We only build .lo (not .o) files for libsudo_util --- lib/util/Makefile.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/util/Makefile.in b/lib/util/Makefile.in index e6e97e102..ead9e0d8c 100644 --- a/lib/util/Makefile.in +++ b/lib/util/Makefile.in @@ -120,10 +120,7 @@ all: libsudo_util.la Makefile: $(srcdir)/Makefile.in (cd $(top_builddir) && ./config.status --file lib/util/Makefile) -.SUFFIXES: .o .c .h .lo - -.c.o: - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $< +.SUFFIXES: .c .h .lo .c.lo: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $< -- 2.49.0