# Check the specified hardening options, same order as dpkg-buildflags.
if ($harden_pie) {
- @cflags = (@cflags, @cflags_pie);
+ @cflags = (@cflags, @cflags_pie);
@cxxflags = (@cxxflags, @cflags_pie);
- @ldflags = (@ldflags, @ldflags_pie);
+ @ldflags = (@ldflags, @ldflags_pie);
}
if ($harden_stack) {
- @cflags = (@cflags, @cflags_stack);
+ @cflags = (@cflags, @cflags_stack);
@cxxflags = (@cxxflags, @cflags_stack);
}
if ($harden_fortify) {
@cppflags = (@cppflags, @cppflags_fortify);
}
if ($harden_format) {
- @cflags = (@cflags, @cflags_format);
+ @cflags = (@cflags, @cflags_format);
@cxxflags = (@cxxflags, @cflags_format);
}
if ($harden_relro) {