~ubuntu-branches/ubuntu/trusty/pdl/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/f77conf.pl

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2012-06-09 15:36:15 UTC
  • mfrom: (2.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120609153615-9btghuyapev3n722
Tags: 1:2.4.11-4ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/perldl.conf: Enabled bad-val as NAN

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
  my $libpath = `gfortran -print-libgcc-file-name`;
18
18
  $libpath =~ s/libgcc[.]a$//;
19
19
  chomp $libpath;
20
 
  "-L$libpath -L/usr/lib -lgcc -lgfortran";
 
20
  my $ldflags = '';
 
21
  $ldflags .= $ENV{LDFLAGS} if (defined $ENV{LDFLAGS});
 
22
  $ldflags .= " -L$libpath -lgcc -lgfortran";
 
23
  return($ldflags);
21
24
}
22
25
 
23
26
sub trail_ {
29
32
}
30
33
 
31
34
sub cflags {
32
 
  return '-O -fPIC';
 
35
  my $fflags = '';
 
36
  $fflags = $ENV{FFLAGS} if (defined $ENV{FFLAGS});
 
37
  $fflags.=' -fPIC';
 
38
  return($fflags);
33
39
}
34
40
 
35
41
sub testcompiler {