From dbfaebf6cb9841e42d131cbec65906a6bf8eb886 Mon Sep 17 00:00:00 2001 From: Tobi Date: Sun, 29 Mar 2026 12:43:41 +0200 Subject: [PATCH] fix incorrect check for NO_WARN_RWX_SEGMENTS_SUPPORTED. Use "NOT DEFINED" instead of "NOT VAR" to properly detect whether the variable is unset. --- hw/bsp/family_support.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()