# Contributor: A. Wilcox # Maintainer: A. Wilcox pkgname=gcc-libssp pkgver=6.4.0 pkgrel=0 pkgdesc="Add libssp support to GCC for use with non-native spec files" url="https://code.foxkit.us/adelie/packages" arch="all" license="NCSA" options="!check !dbg !strip" depends="gcc" makedepends="" subpackages="" source="__stack_chk_fail_local.c" builddir="$srcdir" build() { cd "$builddir" ${CROSS_COMPILE}gcc $CPPFLAGS $CFLAGS -c "$srcdir"/__stack_chk_fail_local.c -o __stack_chk_fail_local.o ${CROSS_COMPILE}ar r libssp_nonshared.a __stack_chk_fail_local.o } package() { cd "$builddir" install -D -m644 libssp_nonshared.a "$pkgdir"/usr/lib/gcc/${CHOST}/${pkgver}/libssp_nonshared.a } sha512sums="062bb49fa54839010acd4af113e20f7263dde1c8a2ca359b5fb2661ef9ed9d84a0f7c3bc10c25dcfa10bb3c5a4874588dff636ac43d5dbb3d748d75400756d0b __stack_chk_fail_local.c"