aboutsummaryrefslogtreecommitdiff
path: root/gcc/range-op-float.cc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2023-04-04 10:27:09 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2023-04-04 10:27:09 +0200
commit7735b117bcdd28df662dfa536519bffc75ae9dee (patch)
treef78f14d81f9d59c6db7bb4ad9c714497f1da2ba7 /gcc/range-op-float.cc
parentd0b961b802dd7d9d555ff4515835a479329326e9 (diff)
downloadgcc-7735b117bcdd28df662dfa536519bffc75ae9dee.zip
gcc-7735b117bcdd28df662dfa536519bffc75ae9dee.tar.gz
gcc-7735b117bcdd28df662dfa536519bffc75ae9dee.tar.bz2
config: -pthread shouldn't link with -lpthread on Solaris
libpthread has been folded into libc since Solaris 10 and replaced by a filter on libc. Linking with libpthread thus only creates unnecessary runtime overhead. This patch thus removes linking with -lpthread if -pthread/-pthreads is specified, thus getting rid of the libpthread dependency in libatomic, libgdruntime, libgomp, libgphobos, and libitm. Bootstrapped without regressions on i386-pc-solaris2.11 and sparc-sun-solaris2.11 (both Solaris 11.3 and 11.4). 2023-04-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> gcc: * config/sol2.h (LIB_SPEC): Don't link with -lpthread.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions