Browse Source

AIX dislikes gcc -O2 when building Perl according to Henry Gomez

Ralf S. Engelschall 20 years ago
parent
commit
790c69e4f4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      perl/perl.spec

+ 2 - 1
perl/perl.spec

@@ -33,7 +33,7 @@ Class:        CORE
 Group:        Language
 License:      GPL/Artistic
 Version:      5.8.7
-Release:      20050603
+Release:      20050706
 
 #   list of sources
 Source0:      ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz
@@ -76,6 +76,7 @@ AutoReqProv:  no
         hints/freebsd.sh hints/netbsd.sh
     case "%{l_platform -t}" in
         amd64-* ) optimize="%{l_cflags}"    ;;
+        *-aix*  ) optimize="%{l_cflags}"    ;;
         *-*     ) optimize="%{l_cflags -O}" ;;
     esac
     ./Configure \