Skip to content

Commit

Permalink
build: explictly disable stack protector on freestanding builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Sep 19, 2024
1 parent 8c43635 commit a18c8c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ tests = tests.disable_auto_if(not root)
if nolibc
add_project_arguments(
'-DZYAN_NO_LIBC',
'-fno-stack-protector',
language: 'c',
)
dep += declare_dependency(link_args: ['-nostdlib', '-nodefaultlibs'])
Expand Down

0 comments on commit a18c8c7

Please sign in to comment.