mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +08:00
gdb, btrace: Fix rn-dl-bind.exp for new icx remark.
When running the test with the latest Intel compiler: Running gdb/gdb/testsuite/gdb.btrace/rn-dl-bind.exp ... gdb compile failed, icpx: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] The test doesn't seem to test something specifically for C++, so I removed the C++ compilation option. Alternatively we could rename rn-dl-bind.exp.c to rn-dl-bind.exp.cc. Signed-off-by: Felix Willgerodt <felix.willgerodt@intel.com>
This commit is contained in:
@ -28,7 +28,7 @@ if { [skip_btrace_tests] } {
|
||||
|
||||
standard_testfile
|
||||
if [prepare_for_testing "failed to prepare" $testfile $srcfile \
|
||||
{c++ debug ldflags=-Wl,-z,lazy}] {
|
||||
{debug ldflags=-Wl,-z,lazy}] {
|
||||
return -1
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user