diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-18 04:35:04 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-22 11:10:43 +0300 |
commit | 965c5bf7fbf5b5140fdfa3b39efb8e484d72fddb (patch) | |
tree | 86f34e1511c528656cdc77f5082cf9bb3564995e /src/cam/meson.build | |
parent | af4304e497837963388e8ac4253c49cd6bd3ef54 (diff) |
meson: Define _FORTIFY_SOURCE for optimised builds
_FORTIFY_SOURCE adds useful checks during compilation. The option is
enabled by default by gcc on all non-optimised builds (as it requires
-O1 or higher). Enable it explicitly for clang.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/meson.build')
0 files changed, 0 insertions, 0 deletions