Dpkg::Vendor::Debian: Use get_feature() instead of use_feature() for PIE
commita54ef649da084562600b8fe32fd726bb1523a862
authorGuillem Jover <guillem@debian.org>
Mon, 2 Jan 2023 11:30:50 +0000 (2 12:30 +0100)
committerGuillem Jover <guillem@debian.org>
Mon, 2 Jan 2023 11:43:13 +0000 (2 12:43 +0100)
tree25855bf89e20f941a82430918f14bdafea3184a2
parent32e9c5a319b8abe17f9806fc6737a58237a2aa24
Dpkg::Vendor::Debian: Use get_feature() instead of use_feature() for PIE

We are distinguishing the feature being undef to cover the builtin case,
and use_feature() coerces it to a bool values which makes it lose the
undef and causes the flags to include PIE flags.

Reported-by: Helmut Grohne <helmut@subdivi.de>
scripts/Dpkg/Vendor/Debian.pm