summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-09-19 16:39:43 +0300
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-09-21 15:24:37 +0200
commit1d616141420d1f51e5999d758e3e0cc721a46290 (patch)
tree14d7c74f831e2ccd3157da13cd60e0ccc86878ee /README.rst
parentdbe4e0e9457c349ea6a797b62d5f55e15c67f642 (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 'README.rst')
0 files changed, 0 insertions, 0 deletions