]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Simplify makefile rule for largefile-config.h (PR91947)
authorJonathan Wakely <jwakely@redhat.com>
Thu, 23 Jan 2020 14:02:32 +0000 (14:02 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 23 Jan 2020 14:02:32 +0000 (14:02 +0000)
commit04681fca936b5bca1dd374dfb0fbca7ccb028994
treee7dacb2c661dd7d8bbb0885d0227eb9ab02c5df4
parent2214053f9d9cdf66a4f3a657dbae43d293fd0387
libstdc++: Simplify makefile rule for largefile-config.h (PR91947)

The previous rule could leave an incomplete file if the build was
interrupted, which would then not be remade if make was run again.

This makes the rule more robust by writing to a temporary file and only
moving it into place as the final step. It also simplifies the rule so
that only the essential macro definitions are written to the file, not
the explanatory comments and commented out #undef lines.

Also, the macro for enabling LFS on Mac OS X 10.5 is now set
unconditionally, which is a bug fix from upstream autoconf.

PR libstdc++/91947
* include/Makefile.am (${host_builddir}/largefile-config.h): Simplify
rule.
* include/Makefile.in: Regenerate.
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
This page took 0.058636 seconds and 5 git commands to generate.