diff options
author | Alan Modra <amodra@gmail.com> | 2020-06-16 18:09:33 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-06-16 21:03:25 +0930 |
commit | 90cd2aad0314291328f21cb68ee76efc6c4f8a30 (patch) | |
tree | c859edec9bc3b001cd6e278894f0a2dfe47b2593 /gold/ChangeLog | |
parent | 2106ed9baf1098a5d76469ecde30813065c46c68 (diff) | |
download | gdb-90cd2aad0314291328f21cb68ee76efc6c4f8a30.zip gdb-90cd2aad0314291328f21cb68ee76efc6c4f8a30.tar.gz gdb-90cd2aad0314291328f21cb68ee76efc6c4f8a30.tar.bz2 |
Use CXXCOMPILE in gold/testsuite/Makefile for c++ testcases
I was playing with passing -std=c99 to an older version of gcc by
using CC="gcc-4 -std=c99", and ran into
cc1plus: error: command line option ‘-std=c99’ is valid for C/ObjC but
not for C++ [-Werror]
This obvious fix uses the correct compiler for a number of gold
testcases.
* testsuite/Makefile.am (export_dynamic_plugin.o): Use CXXCOMPILE.
(plugin_test_wrap_symbols_1.o): Likewise.
(plugin_test_wrap_symbols_2.o): Likewise.
* testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 1f9c523..0b4532a 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,10 @@ +2020-06-16 Alan Modra <amodra@gmail.com> + + * testsuite/Makefile.am (export_dynamic_plugin.o): Use CXXCOMPILE. + (plugin_test_wrap_symbols_1.o): Likewise. + (plugin_test_wrap_symbols_2.o): Likewise. + * testsuite/Makefile.in: Regenerate. + 2020-06-15 Roland McGrath <mcgrathr@google.com> Implement -z start-stop-visibility=... option. |