summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-03-29 15:21:54 +0200
committerGitHub <[email protected]>2026-03-29 15:21:54 +0200
commitbf8f0ec2a24339510810e2d1d473da8dfa187950 (patch)
tree6b2861b85dc18aa2da62039ce3e41109fc48cb85
parenta2cca43290d0ddb4eedc2cc5ba096deca5471012 (diff)
parentdbfaebf6cb9841e42d131cbec65906a6bf8eb886 (diff)
Merge pull request #3576 from embedded-ideas/master
fix incorrect check for NO_WARN_RWX_SEGMENTS_SUPPORTED.
-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()