diff options
| author | Paul Eggert | 2013-04-06 23:21:40 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-04-06 23:21:40 -0700 |
| commit | 876da980f8de024f01efd8d9d86aba66f7cd3b4a (patch) | |
| tree | fd24c9c860b03376fec333affc2a5ea0cd3cb7f2 /ChangeLog | |
| parent | 7452b7bd70f01fb96f13269250bda32507ce0cf1 (diff) | |
| download | emacs-876da980f8de024f01efd8d9d86aba66f7cd3b4a.tar.gz emacs-876da980f8de024f01efd8d9d86aba66f7cd3b4a.zip | |
Fix --enable-profiling bug introduced by 2013-02-25 change.
This bug was introduced by my 2013-02-25 change that simplified
data_start configuration. Without this change, on GNU/Linux
an Emacs configured with --enable-profiling fails immediately
due to a profiler signal.
* configure.ac (LD_SWITCH_SYSTEM_TEMACS): Append -pg if profiling
and if not on GNU/Linux or FreeBSD.
* lib/Makefile.am (AM_CFLAGS): Add $(PROFILING_CFLAGS), so that
lib/*.o is profiled too.
* src/Makefile.in: Compile with $(PROFILING_CFLAGS), but do not link
with these flags. On platforms where special flags are needed
when linking temacs, the flags are now in LD_SWITCH_SYSTEM_TEMACS.
(ALL_CFLAGS): Remove $(PROFILING_CFLAGS).
(.c.o, .m.o): Compile with $(PROFILING_CFLAGS).
Fixes: debbugs:13783
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-04-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783). | ||
| 4 | * configure.ac (LD_SWITCH_SYSTEM_TEMACS): Append -pg if profiling | ||
| 5 | and if not on GNU/Linux or FreeBSD. | ||
| 6 | * lib/Makefile.am (AM_CFLAGS): Add $(PROFILING_CFLAGS), so that | ||
| 7 | lib/*.o is profiled too. | ||
| 8 | |||
| 1 | 2013-03-30 Paul Eggert <eggert@cs.ucla.edu> | 9 | 2013-03-30 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 10 | ||
| 3 | Merge from gnulib, incorporating: | 11 | Merge from gnulib, incorporating: |