diff --git a/build.sh b/build.sh
index fca1a4773612b445158b871da004120923613cf4..dcc1aaac1824fd99e2d3fe9c0acc2de9aebab16e 100755
--- a/build.sh
+++ b/build.sh
@@ -84,6 +84,8 @@ if [ x"$comp_type" == x"full" ]; then
         install_options="-s"
 elif [ x"$comp_type" == x"intel" ]; then
         install_options=" "
+elif [ x"comp_type" == x"asan" ]; then
+	foward_options="$foward_options --enable-asan"
 else
         install_options="-s -m"
 fi
@@ -93,8 +95,6 @@ if [ x"$comp_type" == x"se_class" ]; then
 	foward_options="--enable-se-class1 --with-action-on-error=THROW_ON_ERROR"
 fi
 
-
-
 echo "Installing with: ./install $gpu_support  -i $dependency_dir $install_options -c \"$installation_dir $foward_options  \"  "
 ./install $gpu_support -i $dependency_dir $install_options -c "$installation_dir $foward_options "
 if [ $? -ne 0 ]; then