diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-09-16 19:45:06 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-09-16 20:34:56 -0400 |
commit | 8ff03f0bfbf0dc7d125f6ea0b844636c0aba74f6 (patch) | |
tree | 90d8755f5c8b23eb537647c252bc5b21e9f7e2f6 /gdb/Makefile.in | |
parent | a1cd91dc2f4e369983fab631f18e96f5e46119bc (diff) | |
download | gdb-8ff03f0bfbf0dc7d125f6ea0b844636c0aba74f6.zip gdb-8ff03f0bfbf0dc7d125f6ea0b844636c0aba74f6.tar.gz gdb-8ff03f0bfbf0dc7d125f6ea0b844636c0aba74f6.tar.bz2 |
Sort objects in gdb and gdbserver Makefiles
Tom mentioned this a while ago, as a way to give you a cheap sense of
progression in your build, as all object files will be built
alphabetically (including the directory part). I tried it and I think
it's nice.
gdb/ChangeLog:
* Makefile.in (LIBGDB_OBS): Sort COMMON_OBS.
gdb/gdbserver/ChangeLog:
* Makefile.in (gdbserver$(EXEEXT)): Sort OBS.
(gdbreplay$(EXEEXT)): Sort GDBREPLAY_OBS.
($(IPA_LIB)): Sort IPA_OBJS.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index d49f3ee..87eb825 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1888,7 +1888,7 @@ stamp-init: $(INIT_FILES) # against that. # # init.o is very important. It pulls in the rest of GDB. -LIBGDB_OBS = $(COMMON_OBS) init.o +LIBGDB_OBS = $(sort $(COMMON_OBS)) init.o libgdb.a: $(LIBGDB_OBS) -rm -f libgdb.a $(AR) q libgdb.a $(LIBGDB_OBS) |