summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-27 11:42:13 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-02 19:15:42 +0100
commit940a09bad42c673b0dccd725ae590025c9749735 (patch)
tree0e5bdc6e683b0e1b13e5201b8a65dba5a7ad2b32 /Configure
parent98fdbce09144a8addc6682a0ffd8ac92b2ce70b1 (diff)
Minimize copied config settings
$target{lflags} and $target{plib_flag} were copied to %config for no good reason. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure10
1 files changed, 2 insertions, 8 deletions
diff --git a/Configure b/Configure
index 57a57bd330..15b763c340 100755
--- a/Configure
+++ b/Configure
@@ -871,12 +871,6 @@ $config{defines} = [ @{$target{defines}},
$config{cflags} = join(" ",
grep { $_ ne "" } ($target{cflags},
$target{$build_prefix."cflags"}));
-$config{lflags} = join(" ",
- grep { $_ ne "" } ($target{lflags},
- $target{$build_prefix."lflags"}));
-$config{plib_lflags} = join(" ",
- grep { $_ ne "" } ($target{plib_lflags},
- $target{$build_prefix."plib_lflags"}));
$config{ex_libs} = join(" ",
grep { $_ ne "" } ($target{ex_libs},
$target{$build_prefix."ex_libs"}));
@@ -1682,8 +1676,8 @@ print "IsMK1MF =", ($builder eq "mk1mf" ? "yes" : "no"), "\n";
print "CC =$target{cc}\n";
print "CFLAG =$config{cflags}\n";
print "DEFINES =",join(" ", @{$config{defines}}),"\n";
-print "LFLAG =$config{lflags}\n";
-print "PLIB_LFLAG =$config{plib_lflags}\n";
+print "LFLAG =$target{lflags}\n";
+print "PLIB_LFLAG =$target{plib_lflags}\n";
print "EX_LIBS =$config{ex_libs}\n";
print "APPS_OBJ =$target{apps_obj}\n";
print "CPUID_OBJ =$target{cpuid_obj}\n";