Skip to content

Commit f916eaa

Browse files
authored
fix a sanitizer undefined issue (#4553)
Signed-off-by: zhenweijin <zhenwei.jin@intel.com>
1 parent d95b0e3 commit f916eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-scripts/config_common.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ include (${WAMR_ROOT_DIR}/build-scripts/package.cmake)
146146
# Sanitizers
147147

148148
if (NOT DEFINED WAMR_BUILD_SANITIZER)
149-
set(WAMR_BUILD_SANITIZER $ENV{WAMR_BUILD_SANITIZER})
149+
set(WAMR_BUILD_SANITIZER "$ENV{WAMR_BUILD_SANITIZER}")
150150
endif()
151151

152152
if (NOT WAMR_BUILD_SANITIZER STREQUAL "")

0 commit comments

Comments
 (0)