Re: [testsuite] Don't explicitly link libgomp tests with -lgomp (PR target/49541)

2011-07-18 Thread Rainer Orth
Jakub Jelinek writes: > On Mon, Jul 18, 2011 at 01:53:40PM +0200, Rainer Orth wrote: >> As described in the PR, the fact that the libgomp testsuite always links >> with -lgomp, even with -fno-openmp, causes testsuite failures on targets >> (like Solaris) that need special options when linking lib

Re: [testsuite] Don't explicitly link libgomp tests with -lgomp (PR target/49541)

2011-07-18 Thread Jakub Jelinek
On Mon, Jul 18, 2011 at 01:53:40PM +0200, Rainer Orth wrote: > As described in the PR, the fact that the libgomp testsuite always links > with -lgomp, even with -fno-openmp, causes testsuite failures on targets > (like Solaris) that need special options when linking libgomp. With > -fgomp, this is

[testsuite] Don't explicitly link libgomp tests with -lgomp (PR target/49541)

2011-07-18 Thread Rainer Orth
As described in the PR, the fact that the libgomp testsuite always links with -lgomp, even with -fno-openmp, causes testsuite failures on targets (like Solaris) that need special options when linking libgomp. With -fgomp, this is taken care of by the relevant specs (like adding -pthread), but not