summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/bsp/family_support.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/family_support.cmake b/hw/bsp/family_support.cmake
index 96d6993e6..2274515e4 100644
--- a/hw/bsp/family_support.cmake
+++ b/hw/bsp/family_support.cmake
@@ -141,7 +141,7 @@ if (NOT FAMILY STREQUAL rp2040)
endif()
endif()
-if (NOT NO_WARN_RWX_SEGMENTS_SUPPORTED)
+if (NOT DEFINED NO_WARN_RWX_SEGMENTS_SUPPORTED)
set(NO_WARN_RWX_SEGMENTS_SUPPORTED 1)
endif()