summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobi <[email protected]>2026-03-29 12:43:41 +0200
committerTobi <[email protected]>2026-03-29 12:43:41 +0200
commitdbfaebf6cb9841e42d131cbec65906a6bf8eb886 (patch)
tree6b2861b85dc18aa2da62039ce3e41109fc48cb85
parenta2cca43290d0ddb4eedc2cc5ba096deca5471012 (diff)
fix incorrect check for NO_WARN_RWX_SEGMENTS_SUPPORTED. Use "NOT DEFINED" instead of "NOT VAR" to properly detect whether the variable is unset.
-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()