--- trunk/core/perl/perl-5.28.1-r1.smage2 2018/11/30 09:29:09 31553 +++ trunk/core/perl/perl-5.28.1-r1.smage2 2018/11/30 10:21:41 31555 @@ -20,15 +20,12 @@ SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" -EMUL_LINUX_32=true sminclude multilib msetfeature "!check" SRC_URI=( #http://www.cpan.org/src/${PVER%%.*}.0/${SRCFILE} mirror://${PNAME}/${SRCFILE} - mirror://${PNAME}/${PNAME}-5.10.1-picdl.patch - mirror://${PNAME}/${PNAME}-5.8.7-sharedlinker.patch mirror://${PNAME}/${PNAME}-5.8.7-Configure_multilib-1.patch ) @@ -40,12 +37,6 @@ munpack ${SRCFILE} || die cd ${SRCDIR} - # enable dynamic loader -# mpatch ${PNAME}-5.10.1-picdl.patch || die - - # and proper ldflags for shrlibs -# mpatch ${PNAME}-5.8.7-sharedlinker.patch || die - if [[ $(mlibdir) != lib ]] then # allow configure to run successfully on multilib builds @@ -70,9 +61,12 @@ ${CC} -o '${SRCDIR}'/conftest '${SRCDIR}'/conftest.c -l\$thislib >/dev/null 2>/dev/null ) || xxx=/dev/null" + # filter -march from cflags + export CFLAGS=$(mfilterflag CFLAGS '-march=*') + all-abis ./Configure \ -des \ - -Darchname='"${CHOST}"' \ + -Darchname=${CHOST} \ -Doptimize='"${CFLAGS}"' \ -Dldflags='"${LDFLAGS}"' \ -Dcc='"${CC}"' \