mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
liboping: fix arm builds
This commit is contained in:
parent
52a3a9f605
commit
1cfc7ccbdd
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ post_configure() {
|
||||||
cd bindings/perl
|
cd bindings/perl
|
||||||
perl Makefile.PL INSTALLDIRS=vendor PREFIX="/usr" TOP_BUILDDIR=".." \
|
perl Makefile.PL INSTALLDIRS=vendor PREFIX="/usr" TOP_BUILDDIR=".." \
|
||||||
TARGET_LIBDIR="/usr/lib" CC="$CC" LD="$CC" OPTIMIZE="$CFLAGS"
|
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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue