Skip to content

Commit

Permalink
_GLIBCXX_USE_CXX11_ABI=0
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Mar 25, 2024
1 parent ecd8e40 commit 16fea41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipe/build_openmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ CMAKE_FLAGS+=" -DSWIG_EXECUTABLE=$(which swig)"

if [[ "$target_platform" == linux-* ]]; then
export LDFLAGS="$LDFLAGS -static-libstdc++ -Wl,--exclude-libs,ALL -Wl,-rpath,$ORIGIN/../OpenMM.libs/lib"
export CXXFLAGS=$CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0"
elif [[ "$target_platform" == osx-* ]]; then
export LDFLAGS="$LDFLAGS -Wl,-rpath,@loader_path/../OpenMM.libs/lib -Wl,-rpath,@loader_path/."
fi
Expand Down

0 comments on commit 16fea41

Please sign in to comment.