From 8bb0bc6382d4f8b3f957cd3ab0546e6cbb750beb Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 14 Aug 2013 15:34:38 +0200 Subject: [PATCH] Only assign @cflags_ada if it's used. --- bin/blhc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/blhc b/bin/blhc index b5177bd..3ee8537 100755 --- a/bin/blhc +++ b/bin/blhc @@ -977,8 +977,8 @@ foreach my $file (@ARGV) { # Stores normal CFLAGS when @cflags_ada are temporarily used. my @cflags_backup; - # Ada CFLAGS. - my @cflags_ada = @cflags; + # Ada CFLAGS, only set if ada is used. + my @cflags_ada; # Ada doesn't support format hardening flags, see #680117 for more # information. Filter them out if ada is used. if ($ada and $harden_format) { -- 2.45.2