emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 26b8b30 1/2: Ensure that Gnulib objects in subdirectories are bui


From: Philipp Stephani
Subject: master 26b8b30 1/2: Ensure that Gnulib objects in subdirectories are built correctly.
Date: Thu, 24 Dec 2020 10:49:32 -0500 (EST)

branch: master
commit 26b8b30ff42568ff3e3f8599a20328a1efe93d2a
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    Ensure that Gnulib objects in subdirectories are built correctly.
    
    * lib/Makefile.in (.c.o): Add missing -o option.
---
 lib/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile.in b/lib/Makefile.in
index 06d8e56..d68ec13 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -92,7 +92,7 @@ libegnu_a_OBJECTS = $(patsubst %.o,e-%.o,$(for_emacs_OBJECTS))
 $(libegnu_a_OBJECTS) $(libgnu_a_OBJECTS): $(BUILT_SOURCES)
 
 .c.o:
-       $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
+       $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -o $@ $<
 e-%.o: %.c
        $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -Demacs -o $@ $<
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]