diff options
| author | Dimitry Andric <dimitry@andric.com> | 2026-02-10 19:51:58 +0100 |
|---|---|---|
| committer | Andrew Pinski <andrew.pinski@oss.qualcomm.com> | 2026-02-10 13:32:42 -0800 |
| commit | 1ce1870fbe0b141d38e02b7ac6a41d8d36b73b30 (patch) | |
| tree | e6ef3fbb2b3b8d3e517bf3baf356cca309680049 /libjava/classpath/lib/java/awt | |
| parent | cb570f8424eea3ba54ad7a082fcf5e56c3a40f31 (diff) | |
| download | gcc-1ce1870fbe0b141d38e02b7ac6a41d8d36b73b30.zip gcc-1ce1870fbe0b141d38e02b7ac6a41d8d36b73b30.tar.gz gcc-1ce1870fbe0b141d38e02b7ac6a41d8d36b73b30.tar.bz2 | |
build: Correctly restore CXXFLAGS/LDFLAGS for zstd test
Commit r16-5592-g56889bfec25 added saving and restoring of CXXFLAGS and
LDFLAGS in the gcc configure script, to avoid including the wrong zstd
headers.
However, due to misleading indentation in the configure script, the
restoration of CXXFLAGS and LDFLAGS was put after the if block where the
values were saved. This could cause various interesting effects, among
others segfaults while building gcc in the FreeBSD ports system.
Move the restoration of CXXFLAGS and LDFLAGS to just before the end of
the same if block to fix this.
Thanks to Mark Millard for spotting the actual mistake.
2026-02-10 Dimitry Andric <dimitry@andric.com>
gcc:
PR libfortran/123366
* configure.ac: Move restoring of CXXFLAGS/LDFLAGS for zstd test to
the correct place.
* configure: Regenerate.
Signed-off-by: Dimitry Andric <dimitry@andric.com>
Diffstat (limited to 'libjava/classpath/lib/java/awt')
0 files changed, 0 insertions, 0 deletions
