Skip to content

Commit

Permalink
use OPTIMIZE building "pdl" executable
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 16, 2025
1 parent 64b52cf commit cf594d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ doc_perl_install ::
$(NOECHO) $(PERLRUNINST) utils$(DFSEP)scantree.pl "$(DESTDIR)$(INSTALLARCHLIB)"
EOF
$text .= <<EOT if $^O !~ /MSWin/;
${pdlroot}$::Config{exe_ext} : ${pdlroot}.c
\t\$(CC) \$(CFLAGS) \$(LDFLAGS) \$(CCCDLFLAGS) ${pdlroot}.c -o \$\@
$pdlroot$::Config{exe_ext} : $pdlroot.c
\t\$(CC) \$(CCFLAGS) \$(OPTIMIZE) \$(LDFLAGS) \$(CCCDLFLAGS) $pdlroot.c -o \$\@
EOT
my $typespm = ::catfile(qw(lib PDL Types.pm));
for (qw(pdl.h)) {
Expand Down

0 comments on commit cf594d3

Please sign in to comment.