diff options
author | Arsen Arsenović <arsen@aarsen.me> | 2024-09-02 21:29:53 +0200 |
---|---|---|
committer | Arsen Arsenović <arsen@gcc.gnu.org> | 2025-01-22 20:11:24 +0100 |
commit | fbc94ff6e7615c7e5aeff8f3e0a2f894889e1b4f (patch) | |
tree | 91536a68fd33258bb4859fcedb40cc8978d86cc1 /libjava/testsuite/libjava.lang/Thread_HoldsLock.jar | |
parent | 6db9d4e954bff3dfd926c7c9b71e41e47b7089c8 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
This prevents the gcc driver erroneously accepting -nostdlib++ when it
should not when Ada was enabled.
Also, similarly, -nostdinc* (where * is nonempty) is unhandled by either
the Ada or D compiler, so the spec should not substitute those
either (thanks for pointing that out, Jakub).
Brought to my attention by Michał Górny <mgorny@gentoo.org>.
gcc/ada/ChangeLog:
* gcc-interface/lang-specs.h: Replace %{nostdinc*} %{nostdlib*}
with %{nostdinc} %{nostdlib}.
gcc/d/ChangeLog:
* lang-specs.h: Replace %{nostdinc*} with %{nostdinc}.
gcc/testsuite/ChangeLog:
* gcc.dg/driver-nostdlibstar.c: New test.
Diffstat (limited to 'libjava/testsuite/libjava.lang/Thread_HoldsLock.jar')
0 files changed, 0 insertions, 0 deletions