Re: Missing linking test case for pe dll using a def file
authorAlan Modra <amodra@gmail.com>
Sat, 20 Aug 2022 07:51:08 +0000 (17:21 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 20 Aug 2022 22:23:12 +0000 (07:53 +0930)
commit0ade20c5688d328ea91d4822384af46d7f899cb1
tree68d45ff345d675a4c44b44331dfdd4674c039097
parenta6ac3352ac712e5c092c72ff38d2059021d9af72
Re: Missing linking test case for pe dll using a def file

Fixes this when cross-compiling from x86_64-linux
x86_64-w64-mingw32  +FAIL: compiling shared lib fastcall/stdcall

* testsuite/ld-pe/pe-run2-def.exp (test_direct2_link_dll_def):
Use CC_FOR_TARGET and CFLAGS_FOR_TARGET rather than CC and CFLAGS.
ld/testsuite/ld-pe/pe-run2-def.exp