Skip to content

Commit

Permalink
[LLVM] Do not use -fno-gnu-unique when building for MSAN
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Jan 2, 2023
1 parent 7c360d2 commit 3c6f161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion L/LLVM/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ if [ -z "${LLVM_WANT_STATIC}" ]; then
CMAKE_FLAGS+=(-DLLVM_SHLIB_SYMBOL_VERSION:STRING="JL_LLVM_${LLVM_MAJ_VER}.${LLVM_MIN_VER}")
fi
if [[ "${target}" == *linux* || "${target}" == *mingw* ]]; then
if [[ "${bb_full_target}" != *sanitize* && ( "${target}" == *linux* || "${target}" == *mingw* ) ]]; then
# https://bugs.llvm.org/show_bug.cgi?id=48221
CMAKE_CXX_FLAGS+="-fno-gnu-unique"
fi
Expand Down

0 comments on commit 3c6f161

Please sign in to comment.