Blob Blame Raw
--- PAR-Packer-0.991/myldr/Makefile.PL.cflags	2009-03-21 11:58:51.000000000 +0100
+++ PAR-Packer-0.991/myldr/Makefile.PL	2009-09-21 17:14:11.000000000 +0200
@@ -123,6 +123,7 @@
 
 
 my  $cflags = "$ccdebug$warn$pccflags";
+my $optimize = $Config{optimize};
 my $ldflags = "$lddebug$pldflags";
 my $static_ldflags = $ldflags;
 
@@ -206,6 +207,7 @@
 LD=$ld
 CC=$cc
 CFLAGS=$cflags
+OPTIMIZE=$optimize
 LDFLAGS=$Config{ldflags}
 PERL_LDFLAGS=$ldflags
 STATIC_LDFLAGS=$static_ldflags
@@ -214,7 +216,7 @@
 OBJECTS=main$o my_par_pl$o $res
 
 .c$o:
-	\$(CC) -c \$(CFLAGS) \$<
+	\$(CC) -c \$(CFLAGS) \$(OPTIMIZE) \$<
 
 all: $all