mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-29 11:10:58 +00:00
Add linker flag -fsanitize=address
This commit is contained in:
parent
33acf69181
commit
e2ce128a93
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ cmake \
|
|||
-D CMAKE_BUILD_TYPE="${CONFIGURATION}" \
|
||||
-D CMAKE_INSTALL_PREFIX="${GOOGLETEST_DIR}" \
|
||||
-D CMAKE_CXX_FLAGS="-fsanitize=address" \
|
||||
-D CMAKE_EXE_LINKER_FLAGS="-fsanitize=address" \
|
||||
-G "${GENERATOR}" \
|
||||
..
|
||||
cmake --build . --config "${CONFIGURATION}" -- -j $(nproc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue