Skip to content

cmake: ensure -fstack-protector-explicit is applied to C++ targets #88833

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

mshinjo
Copy link
Contributor

@mshinjo mshinjo commented Apr 20, 2025

cmake: ensure -fstack-protector-explicit is applied to C++ targets

A typo in the top-level CMakeLists.txt prevented C++ targets from
receiving -fstack-protector-explicit when CONFIG_STACK_CANARIES_EXPLICIT=y.

Signed-off-by: Mirai SHINJO [email protected]

A typo in the top-level CMakeLists.txt prevented C++ targets from
receiving -fstack-protector-explicit when CONFIG_STACK_CANARIES_EXPLICIT=y.

Signed-off-by: Mirai SHINJO <[email protected]>
@github-actions github-actions bot added size: XS A PR changing only a single line of code area: Build System labels Apr 20, 2025
@nordicjm nordicjm added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Apr 22, 2025
@kartben kartben merged commit 56cf24e into zephyrproject-rtos:main Apr 25, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System size: XS A PR changing only a single line of code Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants