commit | 15bc615b5b5b00d8e4fd6747eaf338659bdfeaa8 | [log] [tgz] |
---|---|---|
author | Thomas Ebert Hansen <thoh@oticon.com> | Thu Jul 12 12:01:55 2018 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Jul 12 23:13:01 2018 -0400 |
tree | 0f2bcd142326ffa249325a6e47243caf9936ec18 | |
parent | 9ad36e7145f5caf7cb8e9e6ba9826ff7cc0d858c [diff] |
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>