summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/HP-UX-HP-ASM.cmake
Commit message (Collapse)AuthorAgeFilesLines
* HP: Drive shared library linking with compiler front endBrad King2011-12-141-4/+0
| | | | | | | | | | | | | | Previously we linked C, Fortran, and ASM shared libraries compiled with the HP compiler using a direct invocation of the linker (ld). This behavior was left historically from support for an ancient HP C compiler that did not know how to create shared libraries. Fortran shared libraries need to be linked with the compiler to get the language runtime library dependencies as is already done for C++. Update the HP-UX-HP* platform information to use the compiler front end when linking shared libraries. This works on modern HP tools and produces correct behavior. If there is a need to support older tools again we can add a special case for them.
* Add ASM platform information for HP compiler on HPBrad King2011-03-021-0/+6
Among other flags this sets RPATH flags correctly so that CMake knows how to treat CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH for the ASM language.