Skip to content
Snippets Groups Projects
Commit f9accc21 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

testing/mono: enable all arch and set paxmarks

parent d614dd0c
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
# Maintainer: # Maintainer:
pkgname=mono pkgname=mono
pkgver=4.0.1 pkgver=4.0.1
pkgrel=0 pkgrel=1
pkgdesc="Free implementation of the .NET platform including runtime and compiler" pkgdesc="Free implementation of the .NET platform including runtime and compiler"
url="http://www.mono-project.com/" url="http://www.mono-project.com/"
arch="x86_64" arch="all"
license="GPL" license="GPL"
depends="" depends="python"
depends_dev="zlib-dev libgdiplus-dev" depends_dev="zlib-dev libgdiplus-dev"
makedepends="$depends_dev python linux-headers paxmark autoconf automake libtool" makedepends="$depends_dev python linux-headers paxmark autoconf automake libtool"
install="" install=""
...@@ -28,7 +28,9 @@ prepare() { ...@@ -28,7 +28,9 @@ prepare() {
build() { build() {
cd "$_builddir" cd "$_builddir"
# supplied configure has linker issues with make install # set the minimum arch for x86 to prevent atmomic linker errors
[ "$CARCH" = "x86" ] && export CFLAGS="$CFLAGS -march=i586 -mtune=generic"
# autogen to fix supplied configure linker issues with make install
./autogen.sh \ ./autogen.sh \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -51,6 +53,8 @@ build() { ...@@ -51,6 +53,8 @@ build() {
package() { package() {
cd "$_builddir" cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1 make -j1 DESTDIR="$pkgdir" install || return 1
# mark all bins
paxmark -mr "$pkgdir"/usr/bin/*
rm -f "$pkgdir"/usr/lib/*.la rm -f "$pkgdir"/usr/lib/*.la
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment