summaryrefslogtreecommitdiff
blob: 7eb8c9171fc1eba771a525c656a2f51f71496a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
=== modified file 'src/SpeedyMake.pl'
--- src/SpeedyMake.pl	2010-08-30 20:08:42 +0000
+++ src/SpeedyMake.pl	2010-08-30 20:09:18 +0000
@@ -328,7 +328,7 @@
 sub remove_libs { undef }
 
 sub get_ldopts {
-    $_ = "$LD_OPTS " . &ExtUtils::Embed::ldopts('-std');
+    $_ = "$LD_OPTS " . &ExtUtils::Embed::ldopts('-std') . " " . $ENV{LDFLAGS};
     $EFENCE && s/$/ $EFENCE/;
     return $_;
 }