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:
Thomas Ebert Hansen <thoh@oticon.com>
Loading
Please sign in to comment