liboping: fix arm builds
This commit is contained in:
@@ -18,6 +18,7 @@ post_configure() {
|
|||||||
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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user