Dpkg::BuildFlags: Add new get_feature() method
commit32e9c5a319b8abe17f9806fc6737a58237a2aa24
authorGuillem Jover <guillem@debian.org>
Mon, 2 Jan 2023 11:29:30 +0000 (2 12:29 +0100)
committerGuillem Jover <guillem@debian.org>
Mon, 2 Jan 2023 11:42:20 +0000 (2 12:42 +0100)
tree43ac6343d64bbad33236c5ca8d3b263994e23352
parentfdcec9afe947e22182b15daaafe286ccd1006eed
Dpkg::BuildFlags: Add new get_feature() method

This is relevant with builtin features where use_feature() will coerce
the returned value into true or false, and where undef is a valid ternary
state we use to track the default the compiler might have.
scripts/Dpkg/BuildFlags.pm