Skip to content
Commit 15bc615b authored by Thomas Ebert Hansen's avatar Thomas Ebert Hansen Committed by Anas Nashif
Browse files

cmake: Use _FORTIFY_SOURCE only with optimizations enabled



When compiling for native, some glibc versions has a check on the
use of _FORTIFY_SOURCE without optimizations enabled and gives a
preprocessor warning.

Signed-off-by: default avatarThomas Ebert Hansen <thoh@oticon.com>
parent 9ad36e71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment