liboping: fix arm builds

This commit is contained in:
Michael Gehring 2016-07-03 19:32:36 +02:00
parent 52a3a9f605
commit 1cfc7ccbdd

View File

@ -17,7 +17,8 @@ post_configure() {
cd bindings/perl
perl Makefile.PL INSTALLDIRS=vendor PREFIX="/usr" TOP_BUILDDIR=".." \
TARGET_LIBDIR="/usr/lib" CC="$CC" LD="$CC" OPTIMIZE="$CFLAGS"
sed -i 's/-shared .*/-shared/' Makefile # wrangle LDDLFLAGS
sed -i 's/-shared .*/-shared/' Makefile # wrangle LDDLFLAGS
sed -i 's/-mtune=generic//' Makefile # fix arm build
)
}