Skip to content

Commit df8bd8c

Browse files
committed
[UR] Fix noexecstack
There was whitespace which was disabling the flag
1 parent 93e147e commit df8bd8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/cmake/helpers.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function(add_ur_target_link_options name)
154154
if(NOT MSVC)
155155
if (NOT APPLE)
156156
target_link_options(${name} PRIVATE
157-
"LINKER:-z,relro,-z,now,-z,noexecstack ${CFI_FLAGS}"
157+
"LINKER:-z,relro,-z,now,-z,noexecstack,${CFI_FLAGS}"
158158
)
159159
if (UR_DEVELOPER_MODE)
160160
target_link_options(${name} PRIVATE -Werror -Wextra)

0 commit comments

Comments
 (0)