diff --git a/math/p5-Math-Pari/files/patch-makefile b/math/p5-Math-Pari/files/patch-makefile index 9a33e8398aa6..d850c3f29b8e 100644 --- a/math/p5-Math-Pari/files/patch-makefile +++ b/math/p5-Math-Pari/files/patch-makefile @@ -3,7 +3,8 @@ @@ -137,11 +137,13 @@ $mycflags .= " -DASMINLINE"; } - $mycflags .= ' -DGCC_INLINE' if $Config{gccversion}; +-$mycflags .= ' -DGCC_INLINE' if $Config{gccversion}; ++$mycflags .= ' -O -DGCC_INLINE' if $Config{gccversion}; +$mycflags .= " $ENV{CFLAGS} " if $ENV{CFLAGS}; @obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);