diff --git a/srcpkgs/cross-powerpcle-linux-musl/template b/srcpkgs/cross-powerpcle-linux-musl/template index e21df2d3e5..62ac78c411 100644 --- a/srcpkgs/cross-powerpcle-linux-musl/template +++ b/srcpkgs/cross-powerpcle-linux-musl/template @@ -6,7 +6,6 @@ _musl_version=1.1.24 _linux_version=4.19 _triplet=powerpcle-linux-musl -_fpuflags= _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} @@ -71,7 +70,6 @@ _binutils_build() { _args+=" --disable-shared" _args+=" --with-system-zlib" _args+=" --enable-secureplt" - _args+=" ${_fpuflags}" ../binutils-${_binutils_version}/configure ${_args} @@ -117,8 +115,6 @@ _gcc_bootstrap() { _args+=" --disable-symvers" _args+=" libat_cv_have_ifunc=no" _args+=" --enable-secureplt" - _args+=" --with-long-double=64" - _args+=" ${_fpuflags}" CFLAGS="-O0 -g0" CXXFLAGS="-O0 -g0" \ ../gcc-${_gcc_version}/configure ${_args} @@ -201,8 +197,6 @@ _gcc_build() { _args+=" libat_cv_have_ifunc=no" _args+=" --disable-decimal-float" _args+=" --enable-secureplt" - _args+=" --with-long-double=64" - _args+=" ${_fpuflags}" ../gcc-${_gcc_version}/configure ${_args} @@ -225,6 +219,8 @@ do_build() { ln -sfr ${_sysroot}/usr/${f} ${_sysroot}/${f} fi done + ln -sf lib ${_sysroot}/usr/lib32 + ln -sf usr/lib ${_sysroot}/lib32 _binutils_build _gcc_bootstrap @@ -243,6 +239,8 @@ do_install() { ${DESTDIR}/${_sysroot}/${f} fi done + ln -sf lib ${DESTDIR}/${_sysroot}/usr/lib32 + ln -sf usr/lib ${DESTDIR}/${_sysroot}/lib32 # install linux API headers cd ${wrksrc}/linux-${_linux_version}