Do not assume GCC libs are linked by all compilers

Not all compilers link libgcc and libgcc_s causing trouble when linking C++ code with instance PGI Fortran and C compilers.

Merge request reports

Loading