mirror of
https://github.com/openharmony/third_party_cmake.git
synced 2026-07-22 08:45:28 -04:00
80e477239d
When using a Fortran compiler that produces PIC executables by default with a C compiler that does not produce PIC by default then the mangling detection executable fails to link. Explicitly enable PIC for the C compiler just in case the Fortran compiler needs it to link. Issue: #16405