ruderich.org/simon
/
blhc
/
blhc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4a632b4
)
Only assign @cflags_ada if it's used.
author
Simon Ruderich
<simon@ruderich.org>
Wed, 14 Aug 2013 13:34:38 +0000
(15:34 +0200)
committer
Simon Ruderich
<simon@ruderich.org>
Wed, 14 Aug 2013 13:34:38 +0000
(15:34 +0200)
bin/blhc
patch
|
blob
|
history
diff --git
a/bin/blhc
b/bin/blhc
index b5177bdda7b88e6a452c57c93f091318c5d4301d..3ee85373e188ec7e52e18cce100b5294ebe77d5c 100755
(executable)
--- 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) {