Skip to content

Commit

Permalink
Merge pull request #2972 from E3SM-Project/jgfouca/fix_pm_cpu
Browse files Browse the repository at this point in the history
Pm-cpu: do static libc++ linking
  • Loading branch information
jgfouca authored Aug 29, 2024
2 parents f8cdc92 + ac671bd commit 76e5cc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cime_config/machines/cmake_macros/gnu_pm-cpu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ set(MPIFC "ftn")
set(SCC "gcc")
set(SCXX "g++")
set(SFC "gfortran")

string(APPEND CMAKE_EXE_LINKER_FLAGS " -static-libstdc++")

0 comments on commit 76e5cc8

Please sign in to comment.