gcc: libquadmath{,-devel} are only built natively.
This commit is contained in:
parent
a1cf9597f7
commit
4b75a62a37
1 changed files with 23 additions and 19 deletions
|
@ -325,6 +325,29 @@ libobjc_package() {
|
|||
|
||||
fi # !CHROOT_READY || !CROSS_BUILD
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
|
||||
libquadmath-devel_package() {
|
||||
depends="libquadmath>=${_majorver}"
|
||||
short_desc+=" - quadmath library - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/gcc/${_triplet}/${_majorver}/include/quadmath*"
|
||||
vmove "usr/lib/libquadmath*.a"
|
||||
vmove usr/share/info/libquadmath.info
|
||||
touch ${PKGDESTDIR}/usr/share/info/dir
|
||||
}
|
||||
}
|
||||
|
||||
libquadmath_package() {
|
||||
short_desc+=" - quadmath library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libquadmath.so*"
|
||||
vinstall ${wrksrc}/COPYING.RUNTIME 644 usr/share/licenses/$pkgname RUNTIME.LIBRARY.EXCEPTION
|
||||
}
|
||||
}
|
||||
|
||||
fi # !CROSS_BUILD
|
||||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
|
||||
libcilkrts-devel_package() {
|
||||
|
@ -434,25 +457,6 @@ libitm_package() {
|
|||
}
|
||||
|
||||
|
||||
libquadmath-devel_package() {
|
||||
depends="libquadmath>=${_majorver}"
|
||||
short_desc+=" - quadmath library - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/gcc/${_triplet}/${_majorver}/include/quadmath*"
|
||||
vmove "usr/lib/libquadmath*.a"
|
||||
vmove usr/share/info/libquadmath.info
|
||||
touch ${PKGDESTDIR}/usr/share/info/dir
|
||||
}
|
||||
}
|
||||
|
||||
libquadmath_package() {
|
||||
short_desc+=" - quadmath library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libquadmath.so*"
|
||||
vinstall ${wrksrc}/COPYING.RUNTIME 644 usr/share/licenses/$pkgname RUNTIME.LIBRARY.EXCEPTION
|
||||
}
|
||||
}
|
||||
|
||||
libsanitizer-devel_package() {
|
||||
depends="libsanitizer>=${_majorver}"
|
||||
short_desc+=" - Sanitizer libraries - development files"
|
||||
|
|
Loading…
Reference in a new issue