Skip to content

Commit dbfaebf

Browse files
author
Tobi
committed
fix incorrect check for NO_WARN_RWX_SEGMENTS_SUPPORTED. Use "NOT DEFINED" instead of "NOT VAR" to properly detect whether the variable is unset.
1 parent a2cca43 commit dbfaebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/bsp/family_support.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ if (NOT FAMILY STREQUAL rp2040)
141141
endif()
142142
endif()
143143

144-
if (NOT NO_WARN_RWX_SEGMENTS_SUPPORTED)
144+
if (NOT DEFINED NO_WARN_RWX_SEGMENTS_SUPPORTED)
145145
set(NO_WARN_RWX_SEGMENTS_SUPPORTED 1)
146146
endif()
147147

0 commit comments

Comments
 (0)