diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-09-19 16:39:43 +0300 |
---|---|---|
committer | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-09-21 15:24:37 +0200 |
commit | 1d616141420d1f51e5999d758e3e0cc721a46290 (patch) | |
tree | 14d7c74f831e2ccd3157da13cd60e0ccc86878ee /include/android/meson.build | |
parent | dbe4e0e9457c349ea6a797b62d5f55e15c67f642 (diff) |
meson: Simplify check for _FORTIFY_SOURCE
Use the compiler.get_define() function to get the value of
_FORTIFY_SOURCE instead of iterating over the cpp_args. This simplies
the code, but also guarantees to return the actual value of
_FORTIFY_SOURCE, even if defined through other means than through the
meson cpp_args.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: George Burgess IV <gbiv@google.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'include/android/meson.build')
0 files changed, 0 insertions, 0 deletions