]> git.proxmox.com Git - mirror_frr.git/blobdiff - configure.ac
Merge pull request #5644 from donaldsharp/more_pim_doc
[mirror_frr.git] / configure.ac
index a9784842e40a407b2c97388cf496a99332622b84..0694e3ed2c1d2306c649197e61189538a08c5f3d 100755 (executable)
@@ -331,14 +331,14 @@ if test "$enable_memory_sanitizer" = "yes"; then
   AC_C_FLAG([-fsanitize=memory -fPIE -pie], [
     AC_MSG_ERROR([$CC does not support Memory Sanitizer.])
   ], [
-    SAN_FLAGS="-fsanitize=memory -fPIE -pie"
+    SAN_FLAGS="$SAN_FLAGS -fsanitize=memory -fPIE -pie"
   ])
 fi
 if test "$enable_undefined_sanitizer" = "yes"; then
   AC_C_FLAG([-fsanitize=undefined], [
     AC_MSG_ERROR([$CC does not support UndefinedBehaviorSanitizer.])
   ], [
-    SAN_FLAGS="-fsanitize=undefined"
+    SAN_FLAGS="$SAN_FLAGS -fsanitize=undefined"
   ])
 fi
 AC_SUBST([SAN_FLAGS])