summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-09-02 07:26:47 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-09-02 07:26:47 -0700
commitc04889f8e34e69ed496fcaaab285eac34e96acc1 (patch)
tree6a8d73793fc7eaf77a8488400ebe693ea48c9a5d
parentf278d339c9aea397620179bda2c396aaae073be1 (diff)
downloademacs-c04889f8e34e69ed496fcaaab285eac34e96acc1.tar.gz
* Makefile.in (gl-stamp): Don't scan $(SOME_MACHINE_OBJECTS)
when building globals.h, as the objects that are not built on this host are not needed to compile C files on this host.
-rw-r--r--src/ChangeLog6
-rw-r--r--src/Makefile.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2ea13df1261..4986726d7c8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2012-09-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ * Makefile.in (gl-stamp): Don't scan $(SOME_MACHINE_OBJECTS)
+ when building globals.h, as the objects that are not built on
+ this host are not needed to compile C files on this host.
+
2012-09-02 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.h: Remove prototype for x_wm_set_size_hint.
diff --git a/src/Makefile.in b/src/Makefile.in
index a809216f095..fe4cff5d8cc 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -448,7 +448,7 @@ GLOBAL_SOURCES = $(base_obj:.o=.c) $(NS_OBJC_OBJ:.o=.m)
gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES)
@rm -f gl-tmp
- $(libsrc)/make-docfile -d $(srcdir) -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
+ $(libsrc)/make-docfile -d $(srcdir) -g $(obj) > gl-tmp
$(srcdir)/../build-aux/move-if-change gl-tmp globals.h
echo timestamp > $@